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 edit summary |
||
Line 1: | Line 1: | ||
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: |
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: |
Fortunately, the fix was really easy, all you have to do is this: |
||
Line 10: | Line 11: | ||
**'''pacman -S archlinux-keyring''' |
**'''pacman -S archlinux-keyring''' |
||
Then the error will be fixed! |
Then run pacman again. Afterwards, the error will be fixed! |
||
[[Category:Tutorials]] |
[[Category:Tutorials]] |
Latest revision as of 01:09, 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 run pacman again. Afterwards, the error will be fixed!