Can't update cachy anymore. keep getting extras.db failed 404. when running updater

when running sudo pacman -Syu, or using cachy-update, I get back

:: Synchronizing package databases...
 cachyos-znver4 is up to date
 cachyos-core-znver4 is up to date
 cachyos-extra-znver4 is up to date
 cachyos is up to date
 core is up to date
 extra is up to date
 multilib is up to date
error: failed retrieving file 'extra.db' from mirror.osbeck.com : The requested URL returned error: 404
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: failed to prepare transaction (invalid or corrupted database)


This is happening on 2 desktops, since 2 days ago. Any ideas? Also, running the rank mirrors from cachy-hello seems to be doing nothing. rank mirrors been doing nothing for about 10 minutes now. Should I keep waiting???

Can you do the following from terminal;

sudo cachyos-rate-mirrors

Then again;

sudo pacman -Syu

If need be you can also share the configs and mirror list;

paste-cachyos /etc/pacman.conf
head -n -0 /etc/pacman.d/*mirrorlist | paste-cachyos

But I can also tell you that you can comment out (put a # in front of the line) of any problem mirrors like osbeck (though it should be working OK) in the /etc/pacman.d/*mirrorlist files.

Though none of this may fix the issue of

If necessary you may backup or delete the dbs there before retrying sync/refresh/upgrade (like with the bad mirrors commented out);

sudo rm /var/lib/pacman/sync/*
sudo pacman -Syu

ok, i’m getting somewhere now. manually running sudo cachyos-rate-mirrors

seemed to fix it. that’s the part i was missing, as when I tried running from cachy hello, it did nothing

Hm. I could not tell you why but I might go looking.. maybe its not run with permissions?

We do love our trusty terminals. :slight_smile:

Glad it worked out.

Having the same issue but I don’t know how to solve it since I am not using rank mirrors.

This is what I get



: Synchronizing package databases…
cachyos-v3 is up to date
cachyos-core-v3 is up to date
cachyos-extra-v3 is up to date
cachyos is up to date
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade…
error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
warning: libpng12: local (1.2.59-2.1) is newer than cachyos (1.2.59-2)
error: failed to prepare transaction (invalid or corrupted database)

Then why not use it?

It tells me this:

❯ sudo cachyos-rank-mirrors
[sudo] password for fertoast:
sudo: cachyos-rank-mirrors: command not found

Oops, thats a typo from me. :sweat_smile:

sudo cachyos-rate-mirrors

THANK YOU SO MUCH, IT WORKED

This has been so stressful lately but glad you were able to help me :sob:

No offense, but this has been discussed like a million times already. Please search the forum before posting, this saves time for all.