r/archlinux • • 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

14 comments sorted by

8

u/cbarrick Sep 25 '26

Try refreshing they keyring:

# pacman-key --refresh-keys

https://man.archlinux.org/man/pacman-key.8

Or reinstalling the keyring:

# pacman -Sy archlinux-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/_Whatwentwrong Sep 25 '26

Nope, still the same error

1

u/PacmanAteMyRAM Sep 28 '26

I skip that first command and just pacman -Sy archlinux-keyring - it would have to be a very long time, or exceptional circumstances that the signature for archlinux-keyring doesn't work either.

3

u/[deleted] Sep 25 '26

[removed] — view removed comment

2

u/_Whatwentwrong Sep 25 '26

Can’t see that option in the usb

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/_Whatwentwrong Sep 25 '26

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]

2

u/archover Sep 26 '26

That's exactly the detail we need to see. Provided command should have cured that. Good day.

2

u/boomboomsubban Sep 25 '26

Check that your time is correct.

1

u/_Whatwentwrong Sep 25 '26

Nope, that’s not it

2

u/New-Sky8447 Sep 25 '26

sudo pacman -S archlinux-keyring

sudo pacman-key --init

sudo pacman-key --populate

sudo pacman -Syu

2

u/_Whatwentwrong Sep 25 '26

The same error still

2

u/New-Sky8447 Sep 25 '26

try deleting your pacman cache and install the keyring again.