Active IQ Unified Manager fails to install MySQL with "The GPG keys listed for the 'MySQL 8.0 Community Server' repository are already installed but they are not correct for this package."
Applies to
- OnCommand Unified Manager (OCUM) 9.5
- Active IQ Unified Manager (AIQUM) 9.x
- MySQL Community Edition 8.0.27-
- MySQL Community Edition 8.0.28+
- Red Had Enterprise Linux (RHEL)
- CentOS
Issue
When Active IQ Unified Manager attempts to install MySQL Community Edition, the install fails with an error similar to the following:
(2/6): mysql-community-client-plugins-8.0.28-1.el7.x86_ 0% [ ] 0.0 B/s | 0 B --:--:-- ETA
warning: /var/cache/yum/x86_64/7Server/mysql80-community/packages/mysql-community-client-plugins-8.0.28-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY
Public key for mysql-community-client-plugins-8.0.28-1.el7.x86_64.rpm is not installed
(6/6): mysql-community-server-8.0.28-1.el7.x86_64.rpm | 451 MB 00:00:08
-------------------------------------------------------------------------------------------------------------------------------------------
Total 58 MB/s | 517 MB 00:00:08
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
The GPG keys listed for the "MySQL 8.0 Community Server" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
Failing package is: mysql-community-client-8.0.28-1.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql