Percona-release GPG key issue CentOS 8

I’m having issues with updating the percona-release package from percona-release-1.0-25.noarch to percona-release-1.0-26.noarch on any CentOS 8 boxes.

To replicate on a fresh CentOS 8.3.2011 install run:
dnf install https://repo.percona.com/yum/release/8/RPMS/noarch/percona-release-1.0-25.noarch.rpm
dnf update
warning: /var/cache/dnf/percona-release-x86_64-018d36333a0b53bc/packages/percona-release-1.0-26.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
Percona Original release/x86_64 YUM repository 4.5 MB/s | 4.7 kB 00:00
Importing GPG key 0x8507EFA5:
Userid : “Percona Development Team (Packaging key) info@percona.com
Fingerprint: 4D1B B29D 63D9 8E42 2B21 13B1 9334 A25F 8507 EFA5
From : /etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY
Is this ok [y/N]: y
Key imported successfully
Import of key(s) didn’t help, wrong key(s)?
Public key for percona-release-1.0-26.noarch.rpm is not installed. Failing package is: percona-release-1.0-26.noarch
GPG Keys are configured as: file:///etc/pki/rpm-gpg/PERCONA-PACKAGING-KEY
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing ‘dnf clean packages’.
Error: GPG check FAILED

I get a similar error on existing installs on a separate server.

Is there an issue with this package or what am I doing wrong?

1 Like

Hi,

Can you please try with:
https://downloads.percona.com/downloads/percona-release/percona-release-1.0-26/redhat/percona-release-1.0-26.noarch.rpm

It looks like you’re trying to install older version of the package.

1 Like

dnf install https://downloads.percona.com/downloads/percona-release/percona-release-1.0-26/redhat/percona-release-1.0-26.noarch.rpm

Does appear to install cleanly, I don’t really understand then why the 1.0.26 coming from your yum repo would error when the direct download succeeds but it gives me a workaround for now at least.

1 Like

Recommended way is/should be to use the: https://repo.percona.com/yum/percona-release-latest.noarch.rpm

This will install/upgrade to the latest version of the release package.

1 Like