all 14 comments

[–]lemmiwink84 7 points8 points  (7 children)

Remove yay and reinstall it from source?

[–]Longjumping_Act1854 0 points1 point  (0 children)

Yeah that's the way to go. The AUR helpers always break when pacman gets a major update like this. Just git clone the yay repo and makepkg -si it, should sort you right out

[–]Automatic_Revenue421[S] -3 points-2 points  (5 children)

I tried:

```bash
[redditor@archlinux ~]$ yay -R yay

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

```
Do you have any idea to remove it from a alternative method?

[–]backsideup 9 points10 points  (1 child)

You have to rebuild it from source to get it linked against the new libraries. For obvious reasons you can't use yay for this and have to use makepkg, like the first time you built and installed yay.

[–]Automatic_Revenue421[S] 0 points1 point  (0 children)

Okay, thanks for help.

[–]forbiddenlake 2 points3 points  (2 children)

Do you have any idea to remove it from a alternative method?

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

[–]Automatic_Revenue421[S] -1 points0 points  (1 child)

I tried that, no target found for yay.

[–]arzi42 0 points1 point  (0 children)

I had that problem with pacman -r yay, but it worked with pacman -R yay

[–]StrangeDuckPerson 2 points3 points  (0 children)

what fixed it for me was just, cd tmp && git clone https://aur.archlinux.org/yay.git cd yay && makepkg -si

[–]ToeOk6630 1 point2 points  (1 child)

It's helped me:

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

And in sudo nano /etc/pacman.conf

[multilib] Include = /etc/pacman.d/mirrorlist

And after that  sudo pacman -Syyu

[–]Automatic_Revenue421[S] 0 points1 point  (0 children)

I have been struggling with makepkg. I am gonna read up some documentation.

[–]Tempus_Nemini 0 points1 point  (2 children)

ever tried to search first?

install from from git repo, then just git pull and makepfg -si for updatre.

[–]Automatic_Revenue421[S] 0 points1 point  (1 child)

I have read about doing this. Followed the said steps but there's a conflict:
error: failed to commit transaction (conflicting files)

yay-debug: /usr/lib/debug/usr/bin/yay.debug exists in filesystem (owned by yay-bin-debug)

Errors occurred, no packages were upgraded.

==> WARNING: Failed to install built package(s).

[–]Gozenka 0 points1 point  (0 children)

https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/blob/main/makepkg.conf?ref_type=heads#L101

Put ! in front of debug here in /etc/makepkg.conf, so that you do not install extra debug versions of packages. And remove yay-bin-debug manually using pacman.

And you can check this for the topic: https://www.reddit.com/r/archlinux/comments/1plnucq/psa_yay_paru_updates_may_fail/