You are not logged in.
Pages: 1
I ran yay -Syu and got an error. This is my first time attempting to update yay, but have used it a few times and it worked fine. Im not sure about shared directories. This was my output.
[backalley@archlinux ~]$ yay -Syu
yay: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directoryOffline
Offline
you will have to pull down yay manually from the aur for it to fetch the new sover
Last edited by system72 (2025-12-18 18:22:54)
Offline
That sover no longer exists, so no, that doesn't work.
Offline
That sover no longer exists, so no, that doesn't work.
edited
my mistake, i forgot i still have the previous pacman version
Offline
That sover no longer exists, so no, that doesn't work.
So is this a time when id use git to get new mirrors and the mkpkg? I looked at the wiki and couldnt make sense out of this issue exactly. I am still missing some context.
Thank you
Offline
Trying to clone the git directory, I got an error. Is this the old mirror and should I delete it? And if so, should I always delete a mirror after Ive finished copying it?
[backalley@archlinux ~]$ git clone https://aur.archlinux.org/yay.git
fatal: destination path 'yay' already exists and is not an empty directory.Thank you
Offline
The most clear part is "If packages in the official repositories are updated, you will need to rebuild any AUR packages that depend on those libraries." You previously built yay against the old libalpm. You need to rebuild it against the new one.
Offline
alpm had breaking changes so the sover was bumped to .16, you will have to pull down yay from the aur and rebuild it with makepkg e.g.:
git clone --depth 1 https://aur.archlinux.org/yay # or yay-bin
cd yay
makepkg -sithen it should work fine
Offline
Trying to clone the git directory, I got an error. Is this the old mirror and should I delete it? And if so, should I always delete a mirror after Ive finished copying it?
[backalley@archlinux ~]$ git clone https://aur.archlinux.org/yay.git fatal: destination path 'yay' already exists and is not an empty directory.Thank you
that means you already have it cloned? check if there already is a pkgbuild in that directory, if there is you should just be able to pull down new changes with:
(make sure its clean of build artifacts first)
git pulland then proceed to rebuld the package with:
makepkg -siLast edited by system72 (2025-12-18 19:16:35)
Offline
I would first uninstall yay and then run:
$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay-bin.git && cd yay-bin && makepkg -si... worked for me.
Offline
A simple:
$ sudo ln -s /usr/lib/libalpm.so.16 /usr/lib/libalpm.so.15
$ yay -Syu
$ sudo rm /usr/lib/libalpm.so.15did the trick for me
Offline
That is not a solution, ckonte. Please read https://wiki.archlinux.org/title/System … nsupported.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
That is not a solution, ckonte. Please read https://wiki.archlinux.org/title/System … nsupported.
Sorry, didn't know about that ![]()
Offline
I got5 some time today and am still trying to get this issue solved. Ive done updates and other suggestions, but cant get libalpm.so.15 to not be an issue and cant figure out how to get to 16 This was todays attempt output.
[backalley@archlinux ~]$ yay --version
yay: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directory
[backalley@archlinux ~]$ yay -Syu
yay: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directory
[backalley@archlinux ~]$ git clone --depth 1 https://aur.archlinux.org/yay # or yay-bin
cd yay
makepkg -si
fatal: destination path 'yay' already exists and is not an empty directory.
==> WARNING: A package has already been built, installing existing package...
==> Installing package yay with pacman -U...
[sudo] password for backalley:
loading packages...
warning: yay-12.5.3-1 is up to date -- reinstalling
warning: yay-debug-12.5.3-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (2) yay-12.5.3-1 yay-debug-12.5.3-1
Total Installed Size: 23.52 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y
(2/2) checking keys in keyring [####################################] 100%
(2/2) checking package integrity [####################################] 100%
(2/2) loading package files [####################################] 100%
(2/2) checking for file conflicts [####################################] 100%
(2/2) checking available disk space [####################################] 100%
:: Processing package changes...
(1/2) reinstalling yay [####################################] 100%
(2/2) reinstalling yay-debug [####################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[backalley@archlinux yay]$ yay --version
yay: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directoryThank you
Offline
thats because you are not following the advice correctly, you did not pull down the latest changes with git pull and/or cleanup build artifacts before doing that
see https://bbs.archlinux.org/viewtopic.php … 4#p2278674
Last edited by system72 (2025-12-25 02:01:43)
Offline
thats because you are not following the advice correctly, you did not pull down the latest changes with git pull and/or cleanup build artifacts before doing that
I was pretty sure I had tried this before moving on last time, but I guess I did not. This solved it. CHecked yay --version and all is well.
Thank you
Offline
remember to mark your thread as solved by prefixing [solved] to the original posts title, thanks.
Offline
Pages: 1