# Percona-release GPG key issue CentOS 8

**URL:** <https://forums.percona.com/t/percona-release-gpg-key-issue-centos-8/9279>\
**Category:** Percona Distribution for MySQL\
**Created:** [February 15, 2021, 6:49pm UTC](https://forums.percona.com/t/percona-release-gpg-key-issue-centos-8/9279 "2021-02-15T18:49:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnatinfotex](https://avatars.discourse-cdn.com/v4/letter/j/7993a0/32.png) [@johnatinfotex](https://forums.percona.com/u/johnatinfotex)\
**Post date:** [February 15, 2021, 6:49pm UTC](https://forums.percona.com/t/percona-release-gpg-key-issue-centos-8/9279/1 "2021-02-15T18:49:16Z")

</div>

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](mailto: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?

---

<div class="post-metadata">

**Author:** ![hrvojem](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/hrvojem/32/6_2.png) [@hrvojem](https://forums.percona.com/u/hrvojem)\
**Post date:** [February 15, 2021, 7:01pm UTC](https://forums.percona.com/t/percona-release-gpg-key-issue-centos-8/9279/2 "2021-02-15T19:01:12Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![johnatinfotex](https://avatars.discourse-cdn.com/v4/letter/j/7993a0/32.png) [@johnatinfotex](https://forums.percona.com/u/johnatinfotex)\
**Post date:** [February 15, 2021, 7:16pm UTC](https://forums.percona.com/t/percona-release-gpg-key-issue-centos-8/9279/3 "2021-02-15T19:16:18Z")

</div>

`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.

---

<div class="post-metadata">

**Author:** ![hrvojem](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/hrvojem/32/6_2.png) [@hrvojem](https://forums.percona.com/u/hrvojem)\
**Post date:** [February 15, 2021, 7:22pm UTC](https://forums.percona.com/t/percona-release-gpg-key-issue-centos-8/9279/4 "2021-02-15T19:22:46Z")

</div>

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

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