befree/doc/issues_update_parabola.org

1.8 KiB

Invalid or corrupted package - PGP signature

Sometimes when updating the system (Parabola-GNU linux) the system can't be updated:

error: iceweasel: signature from "bill-auger <bill-auger@peers.community>" is unknown trust :: File /var/cache/pacman/pkg/iceweasel-1:110.0.1-1.parabola1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).

The Arch linux wiki offers the following options:

pacman-key depends on system time. If your system clock is not synchronized, system installation/upgrade may fail with:

Options to solve: use ntpd

Correct the system time using the following (as sudo):

First synchronize the local clock with the network clock using ntpd (NTP daemon program)1:

  ntpd -qg

Here the command uses the arguments "q" (force-step-once) "g" (panicgate). Check the manual ($ man ntpd) to know the details.

Then, use the following to set the hardware clock from the system clock:

  hwclock -w

Remove package from cache

Some packages could be corrupted or may be unsigned, causing failure. Remove each offending package from the system cache rm /var/cache/pacman/pkg/pkgname so it gets freshly downloaded, or clear the entire cache.

Upgrade pacman-key and refresh keys

Upgrade keyring (should use sudo)

  pacman -S archlinux-keyring
  pacman -S parabola-keyring

Refresh keys (should use sudo)

  pacman-key --refresh-keys

References

Footnotes

1NTP stands for Network Time Protocol