omarchy failed everything when yay not working after a failed update, dead lock
System details
nvidia 5060ti
What's wrong?
i dont know how this happens.
but after a pacman -Syu, libalpm upgraded to latest. and then yay can not be upgraded
yay: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directory
then nothing i can do.
the solution is use yay-bin aur, manually install yay, then everything goes fine.
maybe you should think about make yay-bin as your fallback plan. if failed
I've been through the same problem today, to quick solve this I've reinstalled yay:
sudo pacman -Syu --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
sudo pacman -Syu --needed git base-devel git clone https://aur.archlinux.org/yay.git cd yay makepkg -si
Tks it worked for me After doing it, some " go " update has been installed. I guess it's ok
It's now updating properly.... Will do it on my other laptop
WOrking A1 on my Desktop
Noobie here : so the issue is with what, yay ??
Same issue here, after system update.
Updated today and ran into the same problem,
sudo pacman -Syu --needed git base-devel git clone https://aur.archlinux.org/yay.git cd yay makepkg -si
did solve the problem and allow the omarchy update to finish without errors.
Hardware: AMD Ryzen 7 7800X3D RTX 4080 Super
Same issue on my end when running the update today:
Update AUR packages yay: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directory
...your system now has libalpm.so.16 but yay was built against .so.15. You need to rebuild yay from source.
With the same / similar fix:
sudo pacman -S --needed go && cd /tmp && rm -rf yay && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si
Re-ran the update and all goods!
Can confirm the update is all good, after reinstalling yay ❤️
Can confirm this bug, and things get okay after recompiling/reinstalling yay
I'm not sure I fully understand the fix that involved building from source. In the absence of understanding I went for something I do understand and did a temporarily symlink:
# ln -s /usr/lib/libalpm.so.16.0.1 /usr/lib/libalpm.so.15.0.0
# ln -s /usr/lib/libalpm.so.16 /usr/lib/libalpm.so.15
$ yay -Sua yay-bin # confirm removal of yay
$ omarchy-update # should've reverted the symlink tempfix first
# unlink /usr/lib/libalpm.so.15.0.0 && unlink /usr/lib/libalpm.so.15
This is because yay from omarchys mirror repo links againt an older libalpm than pacman in the core arch repo which I guess is a side effect of the descicion to add their own mirror?
Same happened to my system. @xtbqimuxmvtx 's suggestion fixed the problem.
I've been through the same problem today, to quick solve this I've reinstalled yay:
sudo pacman -Syu --needed git base-devel git clone https://aur.archlinux.org/yay.git cd yay makepkg -si
Worked for me as well. Update has passed
~ ❯ fastfetch
┌──────────────────────Hardware──────────────────────┐
██████████████████████████████████████████████████████ PC: B850 AORUS ELITE WIFI7 ICE (Default string-CF-WCP-ADO)
██████████████████████████████████████████████████████ │ ├: AMD Ryzen 9 9950X (16) @ 5.76 GHz
████ ████ ████ │ ├: AMD Radeon RX 9070 XT [Discrete]
████ ████ ████ │ ├: AMD Radeon Graphics [Integrated]
████ █████████████████████ ████████ ████ │ ├: 2560x1440 @ 1.25x in 27", 60 Hz [External]
████ █████████████████████ ████████ ████ │ ├: 445.41 GiB / 1.07 TiB (41%) - btrfs
████ ████ ████ ████ │ ├: 7.28 GiB / 60.44 GiB (12%)
████ ████ ████ ████ └ └ : 0 B / 69.00 GiB (0%)
████ ████ ████ ████ └────────────────────────────────────────────────────┘
████ ████ ████ ████
████ ████ ████ ████ ┌──────────────────────Software──────────────────────┐
████ ████ ████ ████ OS: Omarchy 3.2.3
████████████ ████ ████ │ ├: master
████████████ ████ ████ │ ├: stable
████ ████ ████ ████ │ ├: Linux 6.17.9-arch1-1
████ ████ ████ ████ │ ├: Hyprland 0.52.2 (Wayland)
████ ████ ████ ████ │ ├: ghostty 1.2.3-arch2
████ ████ ████ ████ │ ├: 1061 (pacman)
████ ████ ████ ████ │ ├: Catppuccin ●●●●●●●●
████ ████ ████ ████ └ └: JetBrainsMono Nerd Font Mono (9pt)
████ ██████████████████████████████████████ ████ └────────────────────────────────────────────────────┘
████ ██████████████████████████████████████ ████
████ ████ ████ ┌────────────────Age / Uptime / Update───────────────┐
████ ████ ████ OS Age: 65 days
█████████████████████████████ ████████████████████ Uptime: 6 mins
█████████████████████████████ ████████████████████ Update: Tuesday, December 16 2025 at 11:20
└────────────────────────────────────────────────────┘
~ ❯```
I've been through the same problem today, to quick solve this I've reinstalled yay:
sudo pacman -Syu --needed git base-devel git clone https://aur.archlinux.org/yay.git cd yay makepkg -si
Important to know that while this solution works as an band-aid, it wont upgrade automatically on new releases., as it is now manually built.
Important to know that while this solution works as an band-aid, it wont upgrade automatically on new releases., as it is now manually bui
I have been told on DIscord " later when you upgrade again, the yay-git package you built from the AUR sources will be replaced by omarchy/yay. but omarchy has it's own versions of a few packages for various reasons, like enabling extra features or integration b/w apps, so it's better to stick to those versions "
True ?
Important to know that while this solution works as an band-aid, it wont upgrade automatically on new releases., as it is now manually bui
I have been told on DIscord " later when you upgrade again, the yay-git package you built from the AUR sources will be replaced by omarchy/yay. but omarchy has it's own versions of a few packages for various reasons, like enabling extra features or integration b/w apps, so it's better to stick to those versions "
True ?
Not my experience. Packages I manually build end up not being updated anymore. But I might be wrong, I migrated to arch because of Omarchy.
My solution:
- Notice that I also use chaotic-aur repository:
sudo nvim /etc/pacman.conf
- commented out omarchy:
#[omarchy]
#SigLevel = Optional TrustAll
#Server = https://pkgs.omarchy.org/stable/$arch
[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist
- reinstall yay:
~ ❯ sudo pacman -Sy yay
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
chaotic-aur is up to date
warning: yay-12.5.7-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Package (1) Old Version New Version Net Change Download Size
chaotic-aur/yay 12.5.7-1 12.5.7-1 0.00 MiB 3.79 MiB
Total Download Size: 3.79 MiB
Total Installed Size: 9.44 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
yay-12.5.7-1-x86_64 3.8 MiB 3.12 MiB/s 00:01 [------------------------------------------------------------------] 100%
(1/1) checking keys in keyring [------------------------------------------------------------------] 100%
(1/1) checking package integrity [------------------------------------------------------------------] 100%
(1/1) loading package files [------------------------------------------------------------------] 100%
(1/1) checking for file conflicts [------------------------------------------------------------------] 100%
(1/1) checking available disk space [------------------------------------------------------------------] 100%
:: Processing package changes...
(1/1) reinstalling yay [------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
- tested it:
~ ❯ yay -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
chaotic-aur is up to date
- reenable omarchy repo:
[omarchy]
SigLevel = Optional TrustAll
Server = https://pkgs.omarchy.org/stable/$arch
[chaotic-aur]
Include = /etc/pacman.d/chaotic-mirrorlist
@dhh, @ryanrhughes , is there something you can do to upgrade/replace omarchy/yay package and fix it for everybody? now we get solutions going all over the place.
Currently as mentioned before, the error is:
yay: error while loading shared libraries: libalpm.so.15: cannot open shared object file: No such file or directory
and causes updates to fail if you have AUR packages installed as well as several menu's like: Menu -> Remove -> Package and Menu -> Install -> AUR
The fixed AUR package is available via the stable repo. So if you're on a normal Omarchy install, you can just run Update > Omarchy, and you'll get the fixed yay.
The fixed AUR package is available via the stable repo. So if you're on a normal Omarchy install, you can just run Update > Omarchy, and you'll get the fixed yay.
Noobie here : if I installed (Git clone stuff) yay manually following other recommendation, will the next update fix everything or I need to do somewthing else ?
I just updated but nothing special happenned.... how to know if my yay will now be updated by Omarchy " update" or if, by installing it manually I may have broke something ?
The fixed AUR package is available via the stable repo. So if you're on a normal Omarchy install, you can just run Update > Omarchy, and you'll get the fixed yay.
I'm on a stable Omarchy as default install of some versions ago but I still got the error in the update procedure after updating system packages: core, extra, multilib, omarchy.
Tried to remove and reinstall yay nothing changes, the installed version is always 12.5.7-1