During the installation of docker on Archlinux, I got the following error :
error: runc: signature from "Frederik Schwan <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/runc-1.0.3-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).Can someone help me resolve this issue since it prevents me from installing docker?
2 Answers
To solve "invalid or corrupted package (PGP signature)" error in Arch Linux, we need to update the archlinux-keyring package.
$ sudo pacman -S archlinux-keyringThe above command will update the new keys and disable the revoked keys in your Arch Linux system.
source
1Today it works for me:
pacman-key --init
pacman-key --populate archlinux 0