No boot after updates, broken pacman

Hello Everyone,

I hope someone is able to help me out. I tried to do some things, but I was not able to get anywhere because I immediately get an error. Some googling on the error point me to the arch forums, but the page returns a bad request.

Hardware
CPU; Intel 6700, GPU; AMD RX470

What did I do;
Nothing special, I did an update with yay and the next time I wanted to boot it gets stuck on the boot screen. On the message “[OK] Reached target Graphical Interface” and doesnt do anything.

What did I try;
I did chroot into the system;

sudo lsblk -f
sudo mount /dev/nvme0n1p2 /mnt
sudo cat /mnt/etc/fstab
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
sudo arch-chroot /mnt

But every command with pacman and yay immediately returns;
“error while loading shared libraries: libicuuc.so.75: cannot open shared object file: No such file or directory”
So, I dont actually know what to do from here, because non of the commands involving pacman/updates are working.

Thanks in advance,

1 Like

Try the method described in the link below to use the “healthy” pacman on the live session but operating on the root of your installed system:

https://wiki.archlinux.org/title/Pacman#Pacman_crashes_during_an_upgrade

2 Likes

I made sure to use the latest iso for the live environment

mount /dev/nvme0n1p2 /mnt
mount -t proc proc /mnt/proc; mount --rbind /sys /mnt/sys; mount --rbind /dev /mnt/dev
pacman --root=/mnt --cachedir=/mnt/var/cache/pacman/pkg -Syu
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra                                      7.8 MiB  8.49 MiB/s 00:01 [---------------------------------------] 100%
 multilib                                 138.5 KiB   618 KiB/s 00:00 [---------------------------------------] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing icu (75.1-1) breaks dependency 'libicuuc.so=74-64' required by qt5-webkit
:: installing icu (75.1-1) breaks dependency 'libicui18n.so=74-64' required by qt5-webkit

I saw a topic with German mentioning problems with ICU and updates, Systemupdate failed due to issue with icu - #6 by kemuzor

1 Like

qt5-webkit is a package installed from AUR. You would need to remove it (and whatever depends on it) first before being able to update your system.

Afterwards you can install it (or whatever you installed from AUR which needed it).

2 Likes
pacman --root=/mnt --cachedir=/mnt/var/cache/pacman/pkg -R qt5-webkit

Using -R should give me a warning if dependencies are used by other programs, but no warning

pacman --root=/mnt --cachedir=/mnt/var/cache/pacman/pkg -Syu

In my other terminal where Im chrooted into my system yay and pacman do not give the error anymore, hopefully when rebooting it works.

Edit: Yes it does, I did not know you were able to couple the pacman of the live session
Thank you so much @pebcak

1 Like

You are welcome!
Glad to hear you could resolve the issue!

:enos: :wave:t5:

1 Like

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