I had a problem and reinstalled my system, but after the reinstall I can't update or install any package.
Here's my output:
sudo pacman -S gnupg
warning: gnupg-2.2.27-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) gnupg-2.2.27-1
Total Download Size: 2,41 MiB
Total Installed Size: 9,87 MiB
Net Upgrade Size: 0,00 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
gnupg-2.2.27-1-x... 2,4 MiB 3,21 MiB/s 00:01 [##################] 100%
(1/1) checking keys in keyring [##################] 100%
(1/1) checking package integrity [##################] 100%
error: gnupg: signature from "Artix Buildbot <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/gnupg-2.2.27-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
Before the reinstall my gnupg was a newer version, so maybe Artix Buildbot's signature was made with a newer gnupg?