Linux安装mysql报错:失败的软件包是:mysql-community-libs-8.0.37-1.el7.x86_64 GPG

报错:

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


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

解决

#更新mysql密钥
rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2023

重新安装

[root@stars-game ~]# yum install mysql-community-client
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-client.x86_64 0:8.0.37-1.el7 will be installed
--> Processing Dependency: mysql-community-client-plugins = 8.0.37-1.el7 for package: mysql-community-client-8.0.37-1.el7.x86_64
--> Processing Dependency: mysql-community-libs(x86-64) >= 8.0.11 for package: mysql-community-client-8.0.37-1.el7.x86_64
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.68-1.el7 will be obsoleted
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: 2:postfix-2.10.1-9.el7.x86_64
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: 2:postfix-2.10.1-9.el7.x86_64
---> Package mysql-community-client-plugins.x86_64 0:8.0.37-1.el7 will be installed
---> Package mysql-community-libs.x86_64 0
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值