I just attempted a system update, and it failed with this error:
:: Proceed with installation? [Y/n]
:: Retrieving packages…
pacman-mirrors-5.3-1-any 218.4 KiB 4.96 MiB/s 00:00 [#####################################################] 100%
(941/941) checking keys in keyring [#####################################################] 100%
(941/941) checking package integrity [#####################################################] 100%
error: pacman-mirrors: signature from “Frede Hundewadt fh@manjaro.org” is unknown trust
:: File /var/cache/pacman/pkg/pacman-mirrors-5.3-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
I wasn’t doing anything squirrely, it was just a routine update.
I attempted the following:
ls -l /var/cache/pacman/pkg/pacman-mirrors-5.3-1-any.pkg.tar.zst
File does not exist
touch /var/cache/pacman/pkg/pacman-mirrors-5.3-1-any.pkg.tar.zst
sudo pacman -Syyu
Same result, except it deleted the “corrupted” 5.3.1 like it does every time, even though it doesn’t exist
$ ls -ld /var/lib/pacman/local/pacman-mirrors-*
drwxr-xr-x 2 root root 4096 Oct 13 21:55 /var/lib/pacman/local/pacman-mirrors-5.1-1
sudo pacman-mirrors --fasttrack
Did not fix anything
sudo pacman -Syyu
Same result as -Syu
sudo pacman -Scc
wants to remove ALL files from the cache, seems extreme so have not done this yet. Especially if my current mirrors file is good and the replacement is bad, I don’t want to blow away my one good file.
sudo pacman-mirrors -c Global
sudo pacman -Syu
No change
From what I can tell, it is downloading pacman-mirrors-5.3-1-any and getting a corrupted package from the repository, and is unable to continue. Is it possible to tell it NOT to download that package? Like, use the old mirrors package (which has been find up till now, and is actually what it’s using to do this update)
What to do? Wait a few weeks and hope its been fixed and try again?
Thanks in advance for any advice