invalid or corrupted package (PGP signature)

Ask questions about Arch Linux ARM. Please search before making a new topic.

invalid or corrupted package (PGP signature)

Postby clyon » Mon Mar 30, 2020 12:26 am

Hi,

After various update problems, [keeping the story short] I ended up manually extracting the new pacman version (to solve "invalid value Path" error), but I'm now having problems with PGP. I looked at viewtopic.php?f=9&t=13236
viewtopic.php?f=3&t=12797 and https://archlinuxarm.org/about/package-signing, but I'm stuck:
# pacman-key --init && pacman-key --populate archlinuxarm
==> ERROR: The keyring file /usr/share/pacman/keyrings/archlinuxarm.gpg does not exist.

# pacman -S archlinuxarm-keyring
[...]
error: archlinuxarm-keyring: signature from "Arch Linux ARM Build System <builder@archlinuxarm.org>" is unknown trust
:: File /var/cache/pacman/pkg/archlinuxarm-keyring-20140119-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

I'm using a Dockstar (kirkwood) machine.

Thanks for any help!
clyon
 
Posts: 3
Joined: Mon Dec 11, 2017 9:24 pm

Re: invalid or corrupted package (PGP signature)

Postby clyon » Mon Mar 30, 2020 10:08 am

After a bit more exploration from https://wiki.archlinux.org/index.php/Pa ... mport_keys
and all reset/cleanup actions still failing, I temporarily disabled signature checking:
SigLevel=Never
in /etc/pacman.conf

Then, I was able to:
pacman-key --init
pacman -S archlinuxarm-keyring
pacman-key --populate archlinuxarm

After which I removed the SigLevel=Never line and came back to the original setting
SigLevel = Required DatabaseOptional

I could then successfully perform the full system upgrade:
pacman -Syu


Hope this can help someone....
clyon
 
Posts: 3
Joined: Mon Dec 11, 2017 9:24 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 30 guests