You are not logged in.
So, I wanted to update all packages on an Arch system that hasn't been in use for some time. The last time I've updated the system was about 2 years ago.
When I run:
# pacman -Syu
it will download new versions of lots of packages normally, but after pacman does its 'checking package integrity' step, I get:
error: PACKAGE NAME: signature from "NAME <EMAIL>" is unknown trust
:: File /var/cache/pacman/pkg/PACKAGE FILE is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
It does this for each and every package that has been downloaded. Independently of whether I hit Y or n, pacman terminates with:
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
I've tried several times already. I assume that due to the fact that this particular system hasn't been in use for a long time, the package repositories and the database that contains PGP signatures etc. got way out of sync.
Is there a way to circumvent this, for example, by getting a current list of PGP signatures or such?
Thanks a lot,
Hans
Offline
Update archlinux-keyring first.
Offline
Update archlinux-keyring first.
That did the trick, thanks!
Offline