Active IQ Unified Manager 无法使用"mysql 8.0社区服务器"存储库中列出的GPG密钥已安装、但这些密钥不适用于此软件包"来安装MySQL。
适用场景
- Active IQ Unified Manager (AIQUM) 9.x
- MySQL社区版
- Red Hat Enterprise Linux (RHEL)
- CentOS
问题描述
当Active IQ Unified Manager尝试安装MySQL社区版时,安装将失败,并显示类似以下内容的错误:
(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
Import of key(s) didn't help, wrong key(s)? Public key for mysql-community-client-8.0.36-1.el8.x86_64.rpm is not installed. Failing package is: mysql-community-client-8.0.36-1.el8.x86_64
Error: GPG check FAILED