Problem after CachyUpdate

You need libalpm.so.16 but the mirrors are not providing it.

ldd /usr/bin/pacsort | grep libalpm

check what you have

when libalpm.so.15 then run

sudo cachyos-rate-mirrors

sudo pacman -Syyu pacman-contrib

check again with ldd /usr/bin/pacsort | grep libalpm

if it’s still on .15 your mirrors are not providing you with a .16 version

manual install

your architecture v2,v3,v4 ?

replace with what you are using now next to the letter v in URL

v4 example

https://cdn77.cachyos.org/repo/x86_64_v4/cachyos-extra-v4/pacman-contrib-1.13.1-1.2-x86_64_v4.pkg.tar.zst

v3 https://cdn77.cachyos.org/repo/x86_64_v3/cachyos-extra-v3/pacman-contrib-1.13.1-1.2-x86_64_v3.pkg.tar.zst

cd /tmp

curl -LO https://cdn77.cachyos.org/repo/x86_64_v3/cachyos-extra-v3/pacman-contrib-1.13.1-1.2-x86_64_v3.pkg.tar.zst

sudo pacman -U ./pacman-contrib-1.13.1-1.2-x86_64_v3.pkg.tar.zst

after install check what ver you have now

ldd /usr/bin/pacsort | grep libalpm

should be libalpm.so.16

i did the manual install, worked perfectly, thank you

I had a similar problem with the recent update. Went to update due to discord being needy and kept getting “Cannot fetch updates”. Thank you all so much! after running rate-mirrors cachyos then sudo pacman -Syu the problem was resolved and the updater is working again.

Hello @Theogren and welcome to the forum. Nice to hear that you got your problem fixed. Normally we refrain from “necro-ing” solved threads, but as you are new here, you wouldn’t know that, so all is fine.

Yes, cachyos-rate-mirrors followed by a full system upgrade by sudo pacman -Syu fixes a lot of problems for us :grin: Sometimes, you may have to wait a day or two, so you might want to check out ways of restoring your system should an update really mess with things.

CachyOS is definitely a good choice, just be prepared that you need to be willing to delve into things to understand how your OS works, what it is and what it is not. Have fun and don’t hesitate to ask.

Honest question. What are the rules on “necroing" here? Four days hardly feels old on most forums I am a regular on. Heck this thread just popped up in my digest.

No rules as far as I know :slight_smile: maybe I was a bit rash.