当前位置:   article > 正文

解决MySQL: Failing package is: mysql-community-server-8.0.34-1.el7.x86_64

failing package is: mysql-community-server-8.0.34-1.el7.x86_64

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.com/downloads/RPM-GPG-KEY-mysql

更新存储库:

sudo yum update

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/402400
推荐阅读
相关标签
  

闽ICP备14008679号