How to resume interrupted upgrade?

I installed kernel 6.2.7-2, today when upgrading packages with the command pacman -Syyu lost internet connection. I re-run command pacman -Syyu and got errors:

warning: adw-gtk3: local (4.4-1) is newer than community (4.3-1)
warning: archlinux-keyring: local (20230320-1) is newer than core (20230130-1)
warning: game-devices-udev: local (0.21-1) is newer than community (0.19-1)
warning: inxi: local (3.3.26.1-1) is newer than community (3.3.25.1-1)
warning: manjaro-keyring: local (20230318-1) is newer than core (20221028-4)
there is nothing to do

How to resume my upgrade? thanks

Use the Manjaro USB stick and chroot into the system and continue the update.

there really isnā€™t
no errors - just warnings
some of the software that is installed is newer that what was to be installed by the ā€œupdateā€

Someone else might want to explain the reason for this constellation happening.
I canā€™t.

The ā€œupdateā€ was trying to downgrade - which didnā€™t happen and prompted the warnings.

Update your mirrors first and rerun the update.

nice, I had run command pacman -Syuu for a downgrade, I run command pacman-mirrors -c my country and upgrade resume now.

there are three replacements, I choose yes, is it good to replace them?

:: Starting full system upgrade...
:: Replace gdm-plymouth with extra/gdm? [Y/n] y
:: Replace libgdm-plymouth with extra/libgdm? [Y/n] y
:: Replace tbb with extra/onetbb? [Y/n] y

ā€¦ if you donā€™t, the update will fail
Try it and see ā€¦ :nerd_face:

Things depend on each other.
Sometimes it might work, but you should have and know a reason and the possible consequences.

upgrade completed, thanks

In answer to the proposed scenario where

A - Upgrade i interrupted
B - This results in malformed packages

You may need to remove the broken files from the download cache.

  • First find likely culprits. If necessary view logs at /var/log/pacman.log
    tail -n50 /var/log/pacman.log

  • Remove broken cache files. Example:
    sudo rm /var/cache/pacman/pkg/firefox-111*

  • Rerun update. Example:
    sudo pacman -Syu

If you had used thisā€¦ :arrow_down:

ā€¦ then you would have found thisā€¦ :arrow_down:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.