Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] package pgp signature problem (Read 2310 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] package pgp signature problem

I had a problem and reinstalled my system, but after the reinstall I can't update or install any package.
Here's my output:
Code: [Select]
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?

Re: package pgp signature problem

Reply #1
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.

Re: package pgp signature problem

Reply #2
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.

Re: package pgp signature problem

Reply #3
Code: [Select]
pacman -S artix-keyring
pacman-key --populate artix
does not help you?

Re: package pgp signature problem

Reply #4
Code: [Select]
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.

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.
It was a new install from a weekly iso. I was just trying to update the system, there were no arch repos.