admin管理员组文章数量:1626227
目录
一、报错描述:
二、问题分析:
三、问题解决:
四、命令运行:
五、总结
一、报错描述:
The GPG keys listed for the "MySQL 5.7 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-libs-5.7.42-1.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
二、问题分析:
没有配置正确的密钥URL,可能是由于密钥过期导致。在安装MySQL服务之前,先导入正确的密钥URL。记住是在安装之前导入!!!
三、问题解决:
下面命令2022表示年份。先导入正确的密钥URL,然后再进行安装MySQL服务。
rpm --import https://repo.mysql/RPM-GPG-KEY-mysql-2022
四、命令运行:
#显示Complete就表示安装MySQL服务成功了
#接着可以通过启动MySQL服务,查看MySQL服务状态,看MySQL服务是否好使
五、总结
本文简单的介绍了 Hadoop安装MySQL报错The GPG keys listed for the “MySQL 5.7 Community Server“ repository are already......的错误,以及对这种错误如何应对。也许还有许多不足的地方,欢迎各位大佬指点;如果觉得笔者不易,请给予一些支持,给予我记录更多文章的动力。
版权声明:本文标题:Hadoop安装MySQL报错The GPG keys listed for the “MySQL 5.7 Community Server“ repository are already...... 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dianzi/1728944343a1181074.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论