You are not logged in.

#1 2024-03-12 16:33:33

Husseinhazem
Member
Registered: 2024-03-12
Posts: 1

Boot failure and pacman broken

Unfortunately i forced shutdown my laptop as it froze while sudo pacman -Syyu was running. Now it’s stuck on boot with failures show in here

https://imgur.com/a/Wusi6Nw

I downloaded the iso on a usb and chroot to it to try to fix the problem but basically no pacman command runs because of missing libs.

This is the output of ldconfig

https://imgur.com/a/2UhTQ9x

I tried pacstrap /mnt base and i get same ldconfig output.
Is this recoverable at all?

Thanks in advance

Offline

#2 2024-03-12 16:38:55

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Boot failure and pacman broken

If pacman is running ldconfig, it appears to work. You need to reinstall all packages that were part of the bad update, often it's easiest to just reinstall all packages. See the pacman tips and tricks wiki page.

Edit: for reinstalling all packages: https://wiki.archlinux.org/title/Pacman … l_packages
In case pacman is actually broken: https://wiki.archlinux.org/title/Pacman … nal_pacman

Last edited by Scimmia (2024-03-12 22:45:54)

Offline

Board footer

Powered by FluxBB