error: could not open file /var/lib/pacman/sync/endeavouros.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/endeavouros.db: Unrecognized archive format
warning: archlinux-keyring-20240609-1 is up to date -- reinstalling
error: failed to prepare transaction (invalid or corrupted database)
paru
:: Synchronizing package databases...
endeavouros 7.5 KiB 12.6 KiB/s 00:01 [----------------------------] 100%
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/endeavouros.db: Unrecognized archive format
warning: yad: local (13.0-2.2) is newer than extra (13.0-2)
error: failed to prepare transaction (invalid or corrupted database)
now Siglevel equal to Required
and follow that link:
I dont have Server = https://mirror.nimatarlani.com/endeavouros/repo/$repo/$arch so can’t remove it obviously
I run reflector command successfully
3.then sudo rm -r /var/lib/pacman/sync/
then sudo pacman -Syu and I got this:
:: Synchronizing package databases...
endeavouros 7.5 KiB 21.3 KiB/s 00:00 [----------------------------] 100%
core 121.2 KiB 116 KiB/s 00:01 [----------------------------] 100%
extra 7.9 MiB 756 KiB/s 00:11 [----------------------------] 100%
multilib 138.8 KiB 130 KiB/s 00:01 [----------------------------] 100%
error: failed retrieving file 'core.db.sig' from at.arch.mirror.kescher.at : The requested URL returned error: 404
error: failed retrieving file 'multilib.db.sig' from at.arch.mirror.kescher.at : The requested URL returned error: 404
error: failed retrieving file 'extra.db' from at.arch.mirror.kescher.at : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
warning: too many errors from at.arch.mirror.kescher.at, skipping for the remainder of this transaction
error: failed retrieving file 'extra.db.sig' from mirror.f4st.host : The requested URL returned error: 404
error: failed to synchronize all databases (failed to retrieve some files)
Not worked. thank yall for your friendly helps. It means a lot for me.
BTW this problem solved by myself according to your info.
I’m edit /etc/pacman.d/endeavouros-mirrorlist and there is a server which pebcak mentioned in past topics which is cause problems Server = https://mirror.nimatarlani.com/endeavouros/repo/$repo/$arch the strange things is first time when I check endeavouros-mirrorlist it’s not there but after using two mirror refresher at EOS welcome app somehow appear there.
after removing that and set SigLevel = Required DatabaseOptional and
Glad your up and running be sure to mark the thread as solved from which of @pebcaks post helped you get this issue resolved so if others have it they can quickly find the answers. Thank you and Happy Computing.