当前位置:网站首页>centos8安装mysql报错:The GPG keys listed for the “MySQL 8.0 Community Server“ repository are already ins
centos8安装mysql报错:The GPG keys listed for the “MySQL 8.0 Community Server“ repository are already ins
2022-07-06 18:17:00 【[email protected]】
目录
centos8安装mysql报错:The GPG keys listed for the "MySQL 8.0 Community Server" repository are already installed but they are not correct for this package.
报错信息、报错截图示下:
安装sql命令如下:
yum install mysql-community-server 如上述命令,要安装MySQL数据库,执行了上述命令后,却提示报错:The GPG keys listed for the "MySQL 8.0 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.
报错截图如下:

原因分析:
- GPG keys是安装包发布时生成的密钥,安装是需要核对密钥来确保安全性
解决办法:
1.可以先尝试这个:
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*2.然后再执行:
yum install mysql-community-server3.不行的话,可以用这个:
sudo yum -y install * --nogpgcheck
注意事项:
如果上述操作仍不能解决问题,只能建议卸载全部SQL相关模块及其所有文件夹,然后重新选择SQL元下载地址,重新安装SQL了。
【本人遇到过该情况,并成功处理,所以总结一下。】
以上就是关于centos8安装mysql报错:The GPG keys listed for the "MySQL 8.0 Community Server" repository are already installed but they are not correct for this package.
版权声明
本文为[[email protected]]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_46504244/article/details/125589431
边栏推荐
- 编译命令行终端 swift
- Clickhouse fields are grouped and aggregated, and SQL is queried according to the granularity of any time period
- 初识MySQL
- 一起看看matlab工具箱内部是如何实现BP神经网络的
- Modify the system time of Px4 flight control
- ROS learning (23) action communication mechanism
- Make DIY welding smoke extractor with lighting
- 修改px4飞控的系统时间
- 开发中对集合里面的数据根据属性进行合并数量时犯的错误
- ROS学习(21)机器人SLAM功能包——orbslam的安装与测试
猜你喜欢

ROS学习(二十)机器人SLAM功能包——rgbdslam的安装与测试

The difference between Tansig and logsig. Why does BP like to use Tansig

Baidu flying general BMN timing action positioning framework | data preparation and training guide (Part 1)

蓝桥杯2022年第十三届省赛真题-积木画

CISP-PTE之命令注入篇

开发中对集合里面的数据根据属性进行合并数量时犯的错误

JVM memory model

ROS学习(24)plugin插件

ROS学习(21)机器人SLAM功能包——orbslam的安装与测试

AcWing 1148. Secret milk transportation problem solution (minimum spanning tree)
随机推荐
C语言【23道】经典面试题【下】
AcWing 344. 观光之旅题解(floyd求无向图的最小环问题)
Blue Bridge Cup 2022 13th provincial competition real topic - block painting
sql中批量删除数据---实体中的集合
POJ 3177 redundant paths POJ 3352 road construction (dual connection)
字符串的相关编程题
C language instance_ four
hdu 4661 Message Passing(木DP&组合数学)
AcWing 346. 走廊泼水节 题解(推公式、最小生成树)
Shell script quickly counts the number of lines of project code
Domestic images of various languages, software and systems. It is enough to collect this warehouse: Thanks mirror
ROS学习(21)机器人SLAM功能包——orbslam的安装与测试
Mongodb checks whether the table is imported successfully
CISP-PTE实操练习讲解(二)
Set up [redis in centos7.x]
场景实践:基于函数计算快速搭建Wordpress博客系统
Right mouse button customization
NPM install compilation times "cannot read properties of null (reading 'pickalgorithm')“
刨析《C语言》【进阶】付费知识【二】
Yunna | work order management software, work order management software app