[Solved] Latest pacman update breaks aur and yay

Just updated pacman to 7.1.0.r7 and both yay and paru give the same error:

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

So maybe good to hold off the pacman update until the helpers are updated

Thank you for the warning :purple_heart:

Too late, time for downgrade

or you could try downloading the packages from aur instead?

Those packages just need to be rebuilt.

We will get the new packages into our repo but in the meantime, you can easily rebuild them AUR. You don’t need to downgrade.

If you don’t know how to do that, here are some instructions:

paru:

git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si

yay:

https://aur.archlinux.org/yay.git
cd yay
makepkg -si

Alternatively, you can just wait and the updated packages will flow into our repo normally.

11 Likes

Same here. No issue with pacman

─❯ sudo pacman -Syu
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
╰─❯

But no luck with yay…

╰─❯ yay
yay: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directory
╰─❯
Summary

Yeah I use yay so it’s no go with the rebuild then. Downgrading it is!

Never mind I misread a post. Manually building from the AUR works

Worked perfectly. No need to downgrade. Thanks @dalto!

╰─❯ yay
[sudo] password for wombat: 
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
 -> yay: local (12.5.4-1) is newer than endeavouros (12.5.3-1)
 there is nothing to do
╰─❯

Though there is this:
yay: local (12.5.4-1) is newer than endeavouros (12.5.3-1)

@dalto - thanks, yay works again!

Perhaps this topic/thread should be a sticky “Important Notification” until it is addressed?

Same issue as everyone else. I ran dalto’s script and yay now works and I got pacseek working again BUT I have issues with paru. It’s giving me the same issue. I tried reinstalling paru using pacseek and it comes up with the same problem. Weird?

Rich :wink:

Completely agree. Attempted the yay rebuild and no love.

paru needs to be updated by the developers first:

16.0.0 has been out since at least the 4th and non of the Arch distros have it yet?

Huh? The current version of yay is 12.5.4.

yay 12.5.4-1 has been released to EndeavourOS mirrors. It may take some time to reach the mirrors in your listed mirrors in /etc/pacman.d/endeavouros-mirrorlist.

Then update as usual with

sudo pacman -Syu
6 Likes
2 endeavouros/yay 12.5.4-1 (3.2 MiB 9.4 MiB) (Installed)
    Yet another yogurt. Pacman wrapper and AUR helper written in go.
1 aur/yay 12.5.4-1 (+2451 31.17) (Installed)
    Yet another yogurt. Pacman wrapper and AUR helper written in go.
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 

I would choose 2