Problems with libalpm.so.15

Whenver I try to do anything involving yay, I get an error reading error while loading shared libraries: libalpm.so.15: cannot open shared object file: no such file or directory

I attempted the solution down here in the bottom link but I was told git and base-devel were both up to date and that destination path yay already exists and is not an empty directory.
I tried uninstalling yay through pacman, but I got the same message after attempting the solution again. What should I do?

That is a different issue. That is because pacman is newer. In your case, your yay is already looking for the new pacman.

Can you try running: sudo pacman -Syu and see if that fixes the issue?

After running @dalto’s request, if pacman is updated to 7.0 be sure to do look at the .pacnew file.

Pudge

Just ran sudo pacman -Syu and got a message saying there was nothing to do.

Where can I find the .pacnew file so I can check/post it?

Can you share the output of pacman -Q | grep -E "yay|pacman"

pacman 6.1.0-3
pacman-contrib 1.10.6-1
pacman-mirrorlist 20231001-1
yay 12.4.2-1

Your pacman and pacman-mirrorlist seem way out of date.

Here’s my output of pacman -Q | grep -E "yay|pacman"

pacman 7.0.0.r3.g7736133-1                                         
pacman-contrib 1.10.6-2
pacman-mirrorlist 20240717-1
yay 12.4.2-1

I don’t know if that’s the problem or not. But @dalto would know.

1 Like

You need to resort your mirrors. You are probably connected to an out-of-date mirror.

You have old repo packages but new AUR packages which is why you are getting that error.

If you resort your mirrors from the welcome application or using rate-mirrors and then run sudo pacman -Syu that should solve your issues.

1 Like

I don’t have much knowledge on how to use rate-mirrors, and I can’t seem to open Welcome (I get an error saying "libgspell-1.so.3: cannot open shared object file: no such file or directory). Can you walk me through the steps I need to follow to resort my mirrors?

sudo pacman -S rate-mirrrors
rate-mirrors arch --max-delay 7200 | sudo tee /etc/pacman.d/mirrorlist 

I followed the instructions and used sudo pacman -Syu, and the computer updated. However, I’m using a laptop and have a second monitor plugged in. After updating and restarting, only the monitor I’ve plugged in works, and when I go into display, the monitor I’ve got plugged in is the only one that shows up as an option. Is there some way I can ID the issue and fix this?

EDIT: I restarted my laptop with the second monitor disconnected. The laptop’s monitor does light up when booting up, but as soon as it’s done booting, it remains dark instead of revealing the login screen. I had to plug in the second monitor again to get a view of anything.

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