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 https://downloads.percona.com/downloads/RPM-GPG-KEY-percona
rpm --import RPM-GPG-KEY-percona
After this you can try to install the percona-release package again: yum install https://repo.percona.com/yum/percona-release-latest.noarch.rpm
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.