Problem install Percona on Redhat 8

yum install

Downloading Packages:
warning: /var/cache/dnf/commandline-a76fe31ae310b0c7/packages/percona-release-latest.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEY
Public key for percona-release-latest.noarch.rpm is not installed
Error: GPG check FAILED

Hi @hlam thank you for posting to the Percona forums!
It looks like the GPG key wasn’t installed as part of the package install. I just deployed a new CentOS 8 instance and after installing the package I have two new files in /etc/pki/rpm-gpg:

[root@centos-s-2vcpu-2gb-sfo3-01 ~]# date
lun ago 23 14:51:46 UTC 2021
[root@centos-s-2vcpu-2gb-sfo3-01 ~]# ls -ltr /etc/pki/rpm-gpg/
total 20
-rw-r--r--. 1 root root 1687 nov 10  2020 RPM-GPG-KEY-centostesting
-rw-r--r--. 1 root root 1683 nov 10  2020 RPM-GPG-KEY-centosofficial
-rw-r--r--. 1 root root 1710 ago 16 16:45 RPM-GPG-KEY-Percona
-rw-r--r--. 1 root root 4765 ago 16 16:45 PERCONA-PACKAGING-KEY

Can you confirm if these two files are present or if they are missing? If missing, you can try to install it manually:

cd /etc/pki/rpm-gpg
wget -O
rpm --import RPM-GPG-KEY-percona

After this you can try to install the percona-release package again:
yum install

1 Like

Thank you,

After getting the key

-rw-r–r–. 1 root root 1710 Aug 23 11:31 RPM-GPG-KEY-percona

-rw-r–r–. 1 root root 1669 Mar 31 01:28 RPM-GPG-KEY-redhat-beta

-rw-r–r–. 1 root root 5134 Mar 31 01:28 RPM-GPG-KEY-redhat-release

I still have the same problem,

I have to use nogpgcheck to move on



1 Like

Hi @hlam
I tried to reproduce this issue but without success everything works for me.
If you have already installed previous version of percona-release package - you could use yum update percona-release to update it.

1 Like