安装MySQL报错:Failing package is: mysql-community-client-5.7.40-1.el7.x86_64 GPG Keys are configured as
yum -y install mysql-community-server时,未安装成功。报错:Failing package is: mysql-community-client-5.7.40-1.el7.x86_64GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysqlMySQL GPG 密钥已过期。
·
一、报错
Failing package is: mysql-community-client-5.7.40-1.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
二、出处:
安装MySQL执行
yum -y install mysql-community-server 时,未安装成功
三、报错原因
MySQL GPG 密钥已过期
四、解决方法
执行
rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
执行后再执行
yum -y install mysql-community-server
安装成功
更多推荐
已为社区贡献1条内容
所有评论(0)