CentOS7 安装MySQL 5.7时,报错信息:Failing package is: mysql-community-libs-5.7.44-1.el7.x86_64

avatar
作者
筋斗云
阅读量:0

执行命令后,可能会出现下面的错误信息

yum install mysql-community-server

Public key for mysql-community-libs-5.7.44-1.el7.x86_64.rpm is not installed

Failing package is: mysql-community-libs-5.7.44-1.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql

原因是MySQL的GPG升级了,需要重新导入,执行下面的命令即可:

rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022 yum install mysql-community-server

广告一刻

为您即时展示最新活动产品广告消息,让您随时掌握产品活动新动态!