Fix invalid PGP signature on Arch Linux install: Difference between revisions
Jump to navigation
Jump to search
(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 difference)
|
Revision as of 01:08, 1 August 2022
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:
- Go into the terminal and type the following commands:
- pacman -Syy
- pacman -S archlinux-keyring
Then the error will be fixed!