Problems with libalpm.so.15 (solved)

Today i wanted to try the testing repo to upgrade my kernel, but for some reason after the update my yay got broken and i cant do anything with yay. Pacman works but yay is borked.

My output:
yay: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directory

What can i do to fix this ? downgrading the packages gives me a error as well.
pacsort: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directory No results found

These apps got updated

core/glib2 2.86.3-1 2.86.2-1 0,00 MiB
core/iana-etc 20251120-1 20251114-1 0,00 MiB
core/iptables 1:1.8.11-4 1:1.8.11-2 0,01 MiB
core/libinih 62-1 61-1 -0,01 MiB
core/linux 6.18.arch1-1 6.17.9.arch1-1 -0,28 MiB
core/linux-headers 6.18.arch1-1 6.17.9.arch1-1 -8,77 MiB
core/pacman 7.1.0.r1.g2df7c40-1 7.0.0.r6.gc685ae6-6 -0,19 MiB
core/python 3.13.11-1 3.13.7-1 -0,12 MiB

If you have updated your system up to the testing repository, your yay may need rebuilding against the new libraries in your system.

3 Likes

Thanks for your post, i already fixed it. I followed the instructions from post 1 here.

You have rebuild your yay from the git repo. That has solved the issue you were having.

That is correct.

The cause of your issue was that you had updated pacman and thereby the libalpm library.

Your yay being still dependent on the old pacman and libraries, couldn’t find the old version and gave you the error.

1 Like

For my learning curve, how do you rebuild yay against the new libraries ?

The instructions you followed have already done it.

2 Likes

Ah oke … thanks for your help :smiley:

1 Like

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