admin管理员组

文章数量:1626224

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-server-8.0.34-1.el7.x86_64

 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql

这个是由于由于GPG密钥验证问题引起的

解决方法1:

需要禁掉GPG验证检查,指令:

# yum -y install mysql-community-server --nogpgcheck

解决方法2:

查看自己的mysql版本获取与自己版本匹配的RPM-GPG-KEY-mysql密钥

更新密钥:确保MySQL存储库的GPG密钥是正确的

sudo rpm --import https://mysql/downloads/RPM-GPG-KEY-mysql

更新存储库:

sudo yum update

本文标签: mysqlCommunityPackageFailing