当前位置:网站首页>【mysql 07】GPG key retrieval failed: “Couldn‘t open file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022“
【mysql 07】GPG key retrieval failed: “Couldn‘t open file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022“
2022-07-02 00:13:00 【Rusty well began】
1、 The phenomenon
Centos 7.9 install mysql Is there an exception ,GPG key retrieval failed: [Errno 14] curl#37 - “Couldn’t open file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022”
reason : The reason for the above prompt is Mysql Of GPG The upgrade , Need to reacquire
[[email protected] /]# yum install mysql-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-server.x86_64 0:8.0.29-1.el7 will be installed
--> Processing Dependency: mysql-community-common(x86-64) = 8.0.29-1.el7 for package: mysql-community-server-8.0.29-1.el7.x86_64
--> Processing Dependency: mysql-community-icu-data-files = 8.0.29-1.el7 for package: mysql-community-server-8.0.29-1.el7.x86_64
--> Processing Dependency: mysql-community-client(x86-64) >= 8.0.11 for package: mysql-community-server-8.0.29-1.el7.x86_64
--> Processing Dependency: net-tools for package: mysql-community-server-8.0.29-1.el7.x86_64
--> Running transaction check
---> Package mysql-community-client.x86_64 0:8.0.29-1.el7 will be installed
--> Processing Dependency: mysql-community-client-plugins = 8.0.29-1.el7 for package: mysql-community-client-8.0.29-1.el7.x86_64
--> Processing Dependency: mysql-community-libs(x86-64) >= 8.0.11 for package: mysql-community-client-8.0.29-1.el7.x86_64
---> Package mysql-community-common.x86_64 0:8.0.29-1.el7 will be installed
---> Package mysql-community-icu-data-files.x86_64 0:8.0.29-1.el7 will be installed
---> Package net-tools.x86_64 0:2.0-0.25.20131004git.el7 will be installed
--> 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.29-1.el7 will be installed
---> Package mysql-community-libs.x86_64 0:8.0.29-1.el7 will be obsoleting
--> Running transaction check
---> Package mysql-community-libs-compat.x86_64 0:8.0.29-1.el7 will be obsoleting
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================================================================================================== Package Arch Version Repository Size
==============================================================================================================================================================================================================================Installing:
mysql-community-libs x86_64 8.0.29-1.el7 mysql80-community 1.5 M
replacing mariadb-libs.x86_64 1:5.5.68-1.el7
mysql-community-libs-compat x86_64 8.0.29-1.el7 mysql80-community 667 k
replacing mariadb-libs.x86_64 1:5.5.68-1.el7
mysql-community-server x86_64 8.0.29-1.el7 mysql80-community 53 M
Installing for dependencies:
mysql-community-client x86_64 8.0.29-1.el7 mysql80-community 14 M
mysql-community-client-plugins x86_64 8.0.29-1.el7 mysql80-community 2.5 M
mysql-community-common x86_64 8.0.29-1.el7 mysql80-community 633 k
mysql-community-icu-data-files x86_64 8.0.29-1.el7 mysql80-community 2.1 M
net-tools x86_64 2.0-0.25.20131004git.el7 base 306 k
Transaction Summary
==============================================================================================================================================================================================================================Install 3 Packages (+5 Dependent packages)
Total size: 75 M
Total download size: 70 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/mysql80-community/packages/mysql-community-icu-data-files-8.0.29-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY ] 2.2 MB/s | 11 MB 00:00:27 ETA
Public key for mysql-community-icu-data-files-8.0.29-1.el7.x86_64.rpm is not installed
(1/4): mysql-community-icu-data-files-8.0.29-1.el7.x86_64.rpm | 2.1 MB 00:00:03
(2/4): mysql-community-client-8.0.29-1.el7.x86_64.rpm | 14 MB 00:00:03
(3/4): net-tools-2.0-0.25.20131004git.el7.x86_64.rpm | 306 kB 00:00:03
(4/4): mysql-community-server-8.0.29-1.el7.x86_64.rpm | 53 MB 00:00:08
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Total 6.0 MB/s | 70 MB 00:00:11
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
GPG key retrieval failed: [Errno 14] curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022"
2、 Solution
Carry out orders :
rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
Then download again mysql:
[[email protected] /]# rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
[[email protected] /]# yum install mysql-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-server.x86_64 0:8.0.29-1.el7 will be installed
--> Processing Dependency: mysql-community-common(x86-64) = 8.0.29-1.el7 for package: mysql-community-server-8.0.29-1.el7.x86_64
--> Processing Dependency: mysql-community-icu-data-files = 8.0.29-1.el7 for package: mysql-community-server-8.0.29-1.el7.x86_64
--> Processing Dependency: mysql-community-client(x86-64) >= 8.0.11 for package: mysql-community-server-8.0.29-1.el7.x86_64
--> Processing Dependency: net-tools for package: mysql-community-server-8.0.29-1.el7.x86_64
--> Running transaction check
---> Package mysql-community-client.x86_64 0:8.0.29-1.el7 will be installed
--> Processing Dependency: mysql-community-client-plugins = 8.0.29-1.el7 for package: mysql-community-client-8.0.29-1.el7.x86_64
--> Processing Dependency: mysql-community-libs(x86-64) >= 8.0.11 for package: mysql-community-client-8.0.29-1.el7.x86_64
---> Package mysql-community-common.x86_64 0:8.0.29-1.el7 will be installed
---> Package mysql-community-icu-data-files.x86_64 0:8.0.29-1.el7 will be installed
---> Package net-tools.x86_64 0:2.0-0.25.20131004git.el7 will be installed
--> 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.29-1.el7 will be installed
---> Package mysql-community-libs.x86_64 0:8.0.29-1.el7 will be obsoleting
--> Running transaction check
---> Package mysql-community-libs-compat.x86_64 0:8.0.29-1.el7 will be obsoleting
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================================================================================================== Package Arch Version Repository Size
==============================================================================================================================================================================================================================Installing:
mysql-community-libs x86_64 8.0.29-1.el7 mysql80-community 1.5 M
replacing mariadb-libs.x86_64 1:5.5.68-1.el7
mysql-community-libs-compat x86_64 8.0.29-1.el7 mysql80-community 667 k
replacing mariadb-libs.x86_64 1:5.5.68-1.el7
mysql-community-server x86_64 8.0.29-1.el7 mysql80-community 53 M
Installing for dependencies:
mysql-community-client x86_64 8.0.29-1.el7 mysql80-community 14 M
mysql-community-client-plugins x86_64 8.0.29-1.el7 mysql80-community 2.5 M
mysql-community-common x86_64 8.0.29-1.el7 mysql80-community 633 k
mysql-community-icu-data-files x86_64 8.0.29-1.el7 mysql80-community 2.1 M
net-tools x86_64 2.0-0.25.20131004git.el7 base 306 k
Transaction Summary
==============================================================================================================================================================================================================================Install 3 Packages (+5 Dependent packages)
Total size: 75 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : mysql-community-common-8.0.29-1.el7.x86_64 1/9
Installing : mysql-community-client-plugins-8.0.29-1.el7.x86_64 2/9
Installing : mysql-community-libs-8.0.29-1.el7.x86_64 3/9
Installing : mysql-community-client-8.0.29-1.el7.x86_64 4/9
Installing : net-tools-2.0-0.25.20131004git.el7.x86_64 5/9
Installing : mysql-community-icu-data-files-8.0.29-1.el7.x86_64 6/9
Installing : mysql-community-server-8.0.29-1.el7.x86_64 7/9
Installing : mysql-community-libs-compat-8.0.29-1.el7.x86_64 8/9
Erasing : 1:mariadb-libs-5.5.68-1.el7.x86_64 9/9
Verifying : mysql-community-icu-data-files-8.0.29-1.el7.x86_64 1/9
Verifying : mysql-community-libs-compat-8.0.29-1.el7.x86_64 2/9
Verifying : net-tools-2.0-0.25.20131004git.el7.x86_64 3/9
Verifying : mysql-community-client-8.0.29-1.el7.x86_64 4/9
Verifying : mysql-community-client-plugins-8.0.29-1.el7.x86_64 5/9
Verifying : mysql-community-server-8.0.29-1.el7.x86_64 6/9
Verifying : mysql-community-common-8.0.29-1.el7.x86_64 7/9
Verifying : mysql-community-libs-8.0.29-1.el7.x86_64 8/9
Verifying : 1:mariadb-libs-5.5.68-1.el7.x86_64 9/9
Installed:
mysql-community-libs.x86_64 0:8.0.29-1.el7 mysql-community-libs-compat.x86_64 0:8.0.29-1.el7 mysql-community-server.x86_64 0:8.0.29-1.el7
Dependency Installed:
mysql-community-client.x86_64 0:8.0.29-1.el7 mysql-community-client-plugins.x86_64 0:8.0.29-1.el7 mysql-community-common.x86_64 0:8.0.29-1.el7 mysql-community-icu-data-files.x86_64 0:8.0.29-1.el7
net-tools.x86_64 0:2.0-0.25.20131004git.el7
Replaced:
mariadb-libs.x86_64 1:5.5.68-1.el7
Complete!
[[email protected] /]#
边栏推荐
- Ldr6035 smart Bluetooth audio can be charged and released (5.9.12.15.20v) fast charging and fast releasing device charging
- Dongge cashes in and the boss retires?
- Key points of security agreement
- Overview of edge calculation
- 正则表达式收集
- Linux CentOS7安装Oracle11g的超完美新手教程
- SQL Server Installation Guide
- Operate database transactions with jpatractionmanager
- 多表操作-一对一,一对多与多对多
- Three methods of finding inverse numbers
猜你喜欢
Linux CentOS7安装Oracle11g的超完美新手教程

Concurrentskiplistmap -- principle of table skipping

【QT】Qt 使用MSVC2017找不到编译器的解决办法

使用VB.net将PNG图片转成icon类型图标文件

Use pair to do unordered_ Key value of map

华为HMS Core携手超图为三维GIS注入新动能

Qt5.12.9 migration tutorial based on Quanzhi H3

基于全志H3的QT5.12.9移植教程

Deep learning | three concepts: epoch, batch, iteration

. env. XXX file, with constant, but undefined
随机推荐
Which app is better and more secure for stock mobile account opening
BlocProvider为什么感觉和Provider很相似?
时间复杂度与空间复杂度
Jielizhi, production line assembly link [chapter]
Comprehensive usage and case questions of sub query of SQL data analysis [patient sorting]
Example explanation: move graph explorer to jupyterlab
Is it safe to buy funds on Great Wall Securities?
起床困难综合症(按位贪心)
RPA教程01:EXCEL自动化从入门到实操
[Qt] résoudre le problème que Qt msvc 2017 ne peut pas Compiler
【模板】自适应辛普森积分
[C #] dependency injection and Autofac
【CMake】Qt creator 里面的 cmake 配置
Ldr6035 smart Bluetooth audio can continuously charge and discharge mobile devices
It's nothing to be utilitarian!
使用htaccess文件禁止目录里的脚本执行权限
关联性——组内相关系数
Leetcode96 different binary search trees
The essence of software architecture
基于全志H3的QT5.12.9移植教程