Fix invalid PGP signature on Arch Linux install: Difference between revisions

no edit summary
(Created page with "Recently I had an issue when I was trying to install '''Arch Linux''' onto a server, where pacman would refuse to finish due to a package named libcap being "corrupted". The exact error was: "''error: libcap: signature from “David Runge [email protected]” is marginal trust :: File /var/cache/pacman/pkg/libcap-2.65-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).''" Fortunately, the fix was really easy, all you have to do is this:...")
 
No edit summary
 
Recently I had an issue when I was trying to install '''Arch Linux''' onto a server, where pacman would refuse to finish due to a package named libcap being "corrupted". The exact error was:
 
"''<code>error: libcap: signature from “David Runge [email protected]” is marginal trust
 
:: File /var/cache/pacman/pkg/libcap-2.65-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).''"</code>
 
Fortunately, the fix was really easy, all you have to do is this:
**'''pacman -S archlinux-keyring'''
 
Then run pacman again. Afterwards, the error will be fixed!
 
[[Category:Tutorials]]