Package Details: yay 12.3.5-1

Git Clone URL: https://aur.archlinux.org/yay.git (read-only, click to copy)
Package Base: yay
Description: Yet another yogurt. Pacman wrapper and AUR helper written in go.
Upstream URL: https://github.com/Jguer/yay
Keywords: arm AUR go helper pacman wrapper x86
Licenses: GPL-3.0-or-later
Submitter: jguer
Maintainer: jguer
Last Packager: jguer
Votes: 2168
Popularity: 37.81
First Submitted: 2016-10-05 17:20 (UTC)
Last Updated: 2024-03-23 22:58 (UTC)

Pinned Comments

jguer commented on 2024-03-16 08:06 (UTC)

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

This will happen if you upgrade pacman and yay separately If you have this error you need to manually recompile yay

pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

jguer commented on 2019-04-16 14:08 (UTC)

I cannot delete the spam comments appearing regularly in this page, which has also led me to disable notifications from here. I remind that the best way to receive support or report a problem is through the Upstream URL.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 33 Next › Last »

gromit commented on 2024-03-17 23:57 (UTC) (edited on 2024-03-17 23:57 (UTC) by gromit)

@cherio, this is not good advice, see the wiki in this regard:

If a partial upgrade scenario has been created, and binaries are broken because they cannot find the libraries they are linked against, do not "fix" the problem simply by symlinking. Libraries receive soname bumps when they are not backwards compatible.

cherio commented on 2024-03-17 23:40 (UTC)

Someone on Reddit suggested a simpler temporary workaround which doesn't require recompiling, just don't forget to remove the link after: sudo ln -s /usr/lib/libalpm.so.14.0.0 /usr/lib/libalpm.so.13 https://www.reddit.com/r/EndeavourOS/comments/1be08gg/comment/kv3v7se/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

DeathByDenim commented on 2024-03-17 19:35 (UTC)

For anyone trying the makepkg -si command and getting:

cc1: error: invalid argument '/home/...' to '-ffile-prefix-map'

The issue is spaces anywhere in the path where you cloned yay to. In my case, I clone these things to "~/projects/Arch Linux". I had to rename that to "~/projects/ArchLinux"

gregoriB commented on 2024-03-17 17:00 (UTC) (edited on 2024-03-17 17:01 (UTC) by gregoriB)

Thanks @jguer, that worked!

jguer commented on 2024-03-16 08:06 (UTC)

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

This will happen if you upgrade pacman and yay separately If you have this error you need to manually recompile yay

pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

dmali commented on 2024-03-16 07:55 (UTC)

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

You can fix the error simply by sudo pacman -Suy, pacman will update and the error will disappear.

marcin commented on 2024-03-16 03:08 (UTC) (edited on 2024-03-16 03:12 (UTC) by marcin)

Yay stopped working. Getting error

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

after recent update.

Uninstalling yay and building from scratched solved the issue. More here: https://old.reddit.com/r/EndeavourOS/comments/1be08gg/yay_paru_broken_cant_do_anything_with_them_even/kv196lu/

PolarianDev commented on 2024-03-16 00:54 (UTC)

Hello,

You bumped the pkgver but you didn't reset the pkgrel to 1... nothing you can really do about it now...

I assume this was accidental?

Polarian

yochananmarqos commented on 2024-03-15 21:55 (UTC) (edited on 2024-03-15 21:55 (UTC) by yochananmarqos)

@Pillgar: You're missing the prerequisites for using the AUR, this has nothing to do with yay.

@suddengunter: What error? See above.

suddengunter commented on 2024-03-15 21:31 (UTC)

I was able to fix the error by 1. Removing yay 2. Updating system with pacman (without limiting/pinning pacman version) 3. Reinstalling yay from scratch with makepkg