本文介绍: yumy install mysqlcommunityserver 时,未安装成功。报错:Failing package is: mysqlcommunityclient-5.7.40-1.el7.x86_64GPG Keys are configured as: file:///etc/pki/rpmgpg/RPM-GPG-KEY-mysqlMySQL GPG 密钥过期

一、报错

Failing package is: mysqlcommunityclient-5.7.40-1.el7.x86_64
 GPG Keys are configured as: file:///etc/pki/rpmgpg/RPM-GPG-KEY-mysql

二、出处:

安装MySQL执行

 yum -y install mysqlcommunityserver  时,未安装成功

三、报错原因

MySQL GPG 密钥过期

四、解决方法

执行

rpmimport https://repo.mysql.com/RPM-GPG-KEY-mysql-2022

执行后再执行

 yum -y install mysqlcommunityserver 

 安装成功

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注