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 ( is newer than community (
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.