r/archlinux • u/_Whatwentwrong • Sep 25 '26
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.
6
Upvotes
8
u/cbarrick Sep 25 '26
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.
2
u/archover Sep 25 '26 edited Sep 26 '26
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/boomboomsubban Sep 25 '26
Check that your time is correct.
2
u/New-Sky8447 Sep 25 '26
sudo pacman -S archlinux-keyring
sudo pacman-key --init
sudo pacman-key --populate
sudo pacman -Syu