You are not logged in.

#1 2021-09-22 15:50:26

akss13
Member
Registered: 2020-12-18
Posts: 5

System crash during full system upgrade

I updated my system using

yay -Syyuu

. It crashed during the update. I mounted my root partition to /mnt and boot partition to /mnt/boot and chroot in the system by

arch-chroot

using a live cd.
Then tried pacman -Syu it said

pacman: error while loading shared libraries: /usr/lib/libcurl.so.4: file too short

.I tried checking the /var/log/pacman.log it had garbage characters at the end of the log.
I then tried following https://wiki.archlinux.org/title/Pacman … an_upgrade but it said

error failed to synchronize all databases (unable to lock database)

for which I tried

rm /var/lib/pacman/db.lck

but the file db.lck does not exsit.
Any steps I can do from here to recover my system?

Offline

#2 2021-09-22 16:10:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 8,699

Re: System crash during full system upgrade

I'm assuming you tried that rm command from the live disk instead of in the chroot. You'd have to prefix it with where you have the actual root mounted.

Offline

#3 2021-09-22 16:29:37

akss13
Member
Registered: 2020-12-18
Posts: 5

Re: System crash during full system upgrade

I checked the list of files and directories in /mnt/var/lib/pacman/ and found only /local directory in it.

Last edited by akss13 (2021-09-22 19:23:17)

Offline

Board footer

Powered by FluxBB