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?
I also got a "Installation Failed" python error at the end of the install, but it booted up fine.
So I was wondering if I got the error because the installer got this pgp signature problem.
You should install packages from Artix's repositories: https://wiki.artixlinux.org/Main/Repositories
If there is no package you want in Artix's repository, you can try to install the one from Arch's repository, however there is no guarantee it will work:
https://artixlinux.org/news.php#Arch_repositories_made_optional
After installing artix-archlinux-support, do the steps indicated by the install script.
pacman -S artix-keyring
pacman-key --populate artix
does not help you?
Thank you mate, after 'sudo pacman-key --populate artix' and 'sudo pacman -S artix-keyring' everything works now.
It was a new install from a weekly iso. I was just trying to update the system, there were no arch repos.
Glad you solved the problem.
Thanks, I also didn't realize Artix removed the arch repos from pacman.conf. Thanks for the link!