In the last few months I have not been able to update my Artix system (x86-64 laptop, AMD Ryzen 2700, Lenovo).
This is what I do:
1) Update the mirror list: sudo pacman -U ./artix-mirrorlist-20221209-1-any.pkg.tar.zst
2) Rename the mirror list file name: sudo mv /etc/pacman.d/mirrorlist.pacnew /etc/pacman.d/mirrorlist
3) Launch Pacman: sudo pacman -Syyu
Everything seems to be going all right: "Retrieving packages", "checking keys in keyring", "checking package integrity" are successful.
Then, I get a series of questions such as:
error: archlinux-keyring: signature from "Dudemanguy <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/archlinux-keyring-20221220-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
No matter what I enter (y or n), at the end I get to the following error message:
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
I tried to reinstall Artix from scrach, with no improvement.
Thank you for your help.