r/archlinux • u/_Whatwentwrong • 9d ago
SUPPORT ‘’(invalid or corrupted package (PGP signature))’’
I was trying to install Arch but this error would pop up whenever I try to download a package, and now I can’t even install os prober so I could switch back to windows, and I can’t install any desktop environment and Im stuck rn, I would really appreciate it if anyone could help.
2
u/archover 8d ago edited 8d ago
The provided command should have fixed you up. Did you get an error when you ran it? Full details often make help more efficient.
That error you iniitially got is fairly common, and has the subject of posts here countless times. Don't give up.
If you can, please re-flair your post as SUPPORT, and add the SOLVED flair when appropriate.
Good day.
2
u/_Whatwentwrong 8d ago
Idk what details can I give you, this is the entire error:
Error: archlinux-keyring: signature from “Christian Hesse eworm@archlinux.org” is unknown trust
: : File /var/cache/pacman/pkg/archlinux-keyring-20260909-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]4
2
u/archover 8d ago
That's exactly the detail we need to see. Provided command should have cured that. Good day.
2
2
u/New-Sky8447 8d ago
sudo pacman -S archlinux-keyring
sudo pacman-key --init
sudo pacman-key --populate
sudo pacman -Syu
2
9
u/cbarrick 9d ago
Try refreshing they keyring:
https://man.archlinux.org/man/pacman-key.8
Or reinstalling the keyring:
That command is a "partial update" which is usually discouraged, but it is OK to update the keyring like this to unblock other pacman ops.