Date Tags fixes / arch

packate.tar.zst is corrupted (invalid or corrupted package (PGP signature)).

In case you get an output like this when updating (pacman -Syu).

(2077/2077) checking package integrity                          [###################################] 100%
error: linux-api-headers: signature from "Some Name <some@name.com>" is unknown trust
:: File /var/cache/pacman/pkg/linux-api-headers-5.10.13-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]

It's probably because your keyring is corrupted. A fix would be to re-initialize the keyring:

  • sudo rm -rf /etc/pacman.d/gnupg
  • sudo pacman-key --init
  • sudo pacman-key --populate archlinux
  • sudo pacman -Sy archlinux-keyring