目录
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_64GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
没有配置正确的密钥URL,可能是由于密钥过期导致。在安装MySQL服务之前,先导入正确的密钥URL。记住是在安装之前导入!!!
下面命令2022表示年份。先导入正确的密钥URL,然后再进行安装MySQL服务。
rpm --import https://repo.mysql.com/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......的错误,以及对这种错误如何应对。也许还有许多不足的地方,欢迎各位大佬指点;如果觉得笔者不易,请给予一些支持,给予我记录更多文章的动力。
来源地址:https://blog.csdn.net/m0_73139998/article/details/130863097