You are not logged in.

#1 2024-06-25 19:57:05

gigel
Member
Registered: 2023-06-13
Posts: 14

system crashed during update, pacman errors from chroot system resque

hi all,

so once again the system has crashed during pacman -Syu, rendering the system unusable. I've booted with the arch usb disk, chrooted to the damaged system, and tried to reinstall all corrupted packages
however

Packages (1) qt6-wayland-6.7.2-1

Total Installed Size:  7.07 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                        [#################################################################################] 100%
(1/1) checking package integrity                                                                                                      [#################################################################################] 100%
(1/1) loading package files                                                                                                           [#################################################################################] 100%
(1/1) checking for file conflicts                                                                                                     [#################################################################################] 100%
(1/1) checking available disk space                                                                                                   [#################################################################################] 100%
:: Processing package changes...
(1/1) reinstalling qt6-wayland                                                                                                        [#################################################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Refreshing PackageKit...
Error connecting: Could not connect: No such file or directory
error: command failed to execute correctly
warning: qt6-webchannel-6.7.2-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

pacman fails to do anything. so the system remains in a corrupted state.
i tried to disable graphical target and boot into multi-user cli mode, but that fails as well.


thx

Offline

#2 2024-06-25 21:31:26

seth
Member
Registered: 2012-09-03
Posts: 56,103

Re: system crashed during update, pacman errors from chroot system resque

Don't chroot - use "pacman --root=/mnt --cachedir=/mnt/var/cache/pacman/pkg …"
Don't forget to mount the boot partition into /mnt/boot, if you have one.
To see all deviating packages run

LC_ALL=C pacman --root=/mnt -Qkk | grep -v ', 0 altered files' | grep -v 'backup file:'

Offline

Board footer

Powered by FluxBB