warning: mysql-community-libs-5.7.11-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5
1、错误描写叙述
[root@ mysql]# rpm -ivh mysql-community-libs-5.7.11-1.el7.x86_64.rpm
warning: mysql-community-libs-5.7.11-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed dependencies:
mysql-community-common(x86-64) = 5.7.11-1.el7 is needed by mysql-community-libs-5.7.11-1.el7.x86_64
mariadb-libs is obsoleted by mysql-community-libs-5.7.11-1.el7.x86_64
2、错误原因
[root@ mysql]# rpm -ivh mysql-community-client-5.7.11-1.el7.x86_64.rpm
warning: mysql-community-client-5.7.11-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
error: Failed dependencies:
mysql-community-libs(x86-64) = 5.7.11-1.el7 is needed by mysql-community-client-5.7.11-1.el7.x86_64
[root@iZ949a99jvlZ mysql]# ls
mysql-community-client-5.7.11-1.el7.x86_64.rpm mysql-community-libs-5.7.11-1.el7.x86_64.rpm
mysql-community-common-5.7.11-1.el7.x86_64.rpm mysql-community-server-5.7.11-1.el7.x86_64.rpm
在Linux的Centos7下高速安装mysql,利用rpm -ivh命令,可是却出现一个一个的报错,结果发现是每一个安装包须要相互依赖,必须有先后顺序;否则就会报错。
3、解决的方法
watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="" />
依照官网上的安装包提示进行安装
[root@ mysql]# rpm -ivh mysql-community-release-el7-5.noarch.rpm
Preparing... ################################# [100%]
Updating / installing...
1:mysql-community-release-el7-5 ################################# [100%]
[root@ mysql]# yum install mysql-community-server
Loaded plugins: langpacks
mysql-connectors-community | 2.5 kB 00:00:00
mysql-tools-community | 2.5 kB 00:00:00
mysql56-community | 2.5 kB 00:00:00
(1/3): mysql-connectors-community/x86_64/primary_db | 9.8 kB 00:00:00
(2/3): mysql-tools-community/x86_64/primary_db | 25 kB 00:00:00
(3/3): mysql56-community/x86_64/primary_db | 115 kB 00:00:01
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-server.x86_64 0:5.6.29-2.el7 will be installed
--> Processing Dependency: mysql-community-common(x86-64) = 5.6.29-2.el7 for package: mysql-community-server-5.6.29-2.el7.x86_64
--> Processing Dependency: mysql-community-client(x86-64) = 5.6.29-2.el7 for package: mysql-community-server-5.6.29-2.el7.x86_64
--> Processing Dependency: perl(DBI) for package: mysql-community-server-5.6.29-2.el7.x86_64
--> Running transaction check
---> Package mysql-community-client.x86_64 0:5.6.29-2.el7 will be installed
--> Processing Dependency: mysql-community-libs(x86-64) = 5.6.29-2.el7 for package: mysql-community-client-5.6.29-2.el7.x86_64
---> Package mysql-community-common.x86_64 0:5.6.29-2.el7 will be installed
---> Package perl-DBI.x86_64 0:1.627-4.el7 will be installed
--> Processing Dependency: perl(RPC::PlServer) >= 0.2001 for package: perl-DBI-1.627-4.el7.x86_64
--> Processing Dependency: perl(RPC::PlClient) >= 0.2000 for package: perl-DBI-1.627-4.el7.x86_64
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.40-1.el7_0 will be obsoleted
---> Package mysql-community-libs.x86_64 0:5.6.29-2.el7 will be obsoleting
---> Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed
--> Processing Dependency: perl(Net::Daemon) >= 0.13 for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Processing Dependency: perl(Compress::Zlib) for package: perl-PlRPC-0.2020-14.el7.noarch
--> Running transaction check
---> Package perl-IO-Compress.noarch 0:2.061-2.el7 will be installed
--> Processing Dependency: perl(Compress::Raw::Zlib) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
--> Processing Dependency: perl(Compress::Raw::Bzip2) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch
---> Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed
--> Running transaction check
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed
---> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed
--> Finished Dependency Resolution Dependencies Resolved =======================================================================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================================================================
Installing:
mysql-community-libs x86_64 5.6.29-2.el7 mysql56-community 2.0 M
replacing mariadb-libs.x86_64 1:5.5.40-1.el7_0
mysql-community-server x86_64 5.6.29-2.el7 mysql56-community 58 M
Installing for dependencies:
mysql-community-client x86_64 5.6.29-2.el7 mysql56-community 19 M
mysql-community-common x86_64 5.6.29-2.el7 mysql56-community 256 k
perl-Compress-Raw-Bzip2 x86_64 2.061-3.el7 base 32 k
perl-Compress-Raw-Zlib x86_64 1:2.061-4.el7 base 57 k
perl-DBI x86_64 1.627-4.el7 base 802 k
perl-IO-Compress noarch 2.061-2.el7 base 260 k
perl-Net-Daemon noarch 0.48-5.el7 base 51 k
perl-PlRPC noarch 0.2020-14.el7 base 36 k Transaction Summary
=======================================================================================================================================================================
Install 2 Packages (+8 Dependent packages) Total download size: 80 M
Is this ok [y/d/N]: yyyyyy^H^H^H^H^[[3~
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/mysql56-community/packages/mysql-community-common-5.6.29-2.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY36 ETA
Public key for mysql-community-common-5.6.29-2.el7.x86_64.rpm is not installed
(1/10): mysql-community-common-5.6.29-2.el7.x86_64.rpm | 256 kB 00:00:02
(2/10): mysql-community-libs-5.6.29-2.el7.x86_64.rpm | 2.0 MB 00:00:04
(3/10): perl-Compress-Raw-Zlib-2.061-4.el7.x86_64.rpm | 57 kB 00:00:00
(4/10): perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64.rpm | 32 kB 00:00:00
(5/10): perl-Net-Daemon-0.48-5.el7.noarch.rpm | 51 kB 00:00:00
(6/10): perl-PlRPC-0.2020-14.el7.noarch.rpm | 36 kB 00:00:00
(7/10): perl-IO-Compress-2.061-2.el7.noarch.rpm | 260 kB 00:00:00
(8/10): perl-DBI-1.627-4.el7.x86_64.rpm | 802 kB 00:00:01
(9/10): mysql-community-client-5.6.29-2.el7.x86_64.rpm | 19 MB 00:01:10
(10/10): mysql-community-server-5.6.29-2.el7.x86_64.rpm | 58 MB 00:04:08
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 322 kB/s | 80 MB 00:04:15
Retrieving key from file:/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Importing GPG key 0x5072E1F5:
Userid : "MySQL Release Engineering <mysql-build@oss.oracle.com>"
Fingerprint: a4a9 4068 76fc bd3c 4567 70c8 8c71 8d3b 5072 e1f5
Package : mysql-community-release-el7-5.noarch (installed)
From : file:/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
Installing : mysql-community-common-5.6.29-2.el7.x86_64 1/11
Installing : mysql-community-libs-5.6.29-2.el7.x86_64 2/11
Installing : mysql-community-client-5.6.29-2.el7.x86_64 3/11
Installing : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64 4/11
Installing : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64 5/11
Installing : perl-IO-Compress-2.061-2.el7.noarch 6/11
Installing : perl-Net-Daemon-0.48-5.el7.noarch 7/11
Installing : perl-PlRPC-0.2020-14.el7.noarch 8/11
Installing : perl-DBI-1.627-4.el7.x86_64 9/11
Installing : mysql-community-server-5.6.29-2.el7.x86_64 10/11
Erasing : 1:mariadb-libs-5.5.40-1.el7_0.x86_64 11/11
Verifying : mysql-community-common-5.6.29-2.el7.x86_64 1/11
Verifying : mysql-community-libs-5.6.29-2.el7.x86_64 2/11
Verifying : perl-Net-Daemon-0.48-5.el7.noarch 3/11
Verifying : mysql-community-client-5.6.29-2.el7.x86_64 4/11
Verifying : mysql-community-server-5.6.29-2.el7.x86_64 5/11
Verifying : perl-IO-Compress-2.061-2.el7.noarch 6/11
Verifying : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64 7/11
Verifying : perl-DBI-1.627-4.el7.x86_64 8/11
Verifying : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64 9/11
Verifying : perl-PlRPC-0.2020-14.el7.noarch 10/11
Verifying : 1:mariadb-libs-5.5.40-1.el7_0.x86_64 11/11 Installed:
mysql-community-libs.x86_64 0:5.6.29-2.el7 mysql-community-server.x86_64 0:5.6.29-2.el7 Dependency Installed:
mysql-community-client.x86_64 0:5.6.29-2.el7 mysql-community-common.x86_64 0:5.6.29-2.el7 perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7
perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 perl-DBI.x86_64 0:1.627-4.el7 perl-IO-Compress.noarch 0:2.061-2.el7
perl-Net-Daemon.noarch 0:0.48-5.el7 perl-PlRPC.noarch 0:0.2020-14.el7 Replaced:
mariadb-libs.x86_64 1:5.5.40-1.el7_0
warning: mysql-community-libs-5.7.11-1.el7.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5的更多相关文章
- 安装mysql警告 warning: mysql-community-server-5.7.19-1.el6.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
摘自:https://www.cnblogs.com/royfans/p/7243641.html 红帽安装rpm安装MySQL时爆出警告: 警告:MySQL-server-5.5.46-1.linu ...
- 安装mysql警告: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY
CentOS安装rpm安装MySQL时爆出警告: warning: mysql-community-server-5.7.18-1.el6.x86_64.rpm: Header V3 DSA/SHA1 ...
- rpm报错warning: /var/tmp/rpm-tmp.1OZa8q: Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY的解决
参考链接:http://blog.51cto.com/zymin0823/1546537 报错: 解决:使用如下两个选项
- warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID 192a7d7d: NOKEY
症状描述: 使用yum安装软件时报如下错误: warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID 192a7d7d: NO ...
- warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID XXXXXX: NOKEY
我在使用Centos时,会出现这种错误: 本人实践有效的办法是: 加上"--nogpgcheck"参数 就是在你要执行的语句后面加上该参数就行了! 我当时是为了安装jenkins时 ...
- CentOS 安装MySQL(rpm)提示错误Header V3 DSA/SHA1 Signature
提示错误:Header V3 DSA/SHA1 Signature, key ID 5072e1f5: NOKEY error: Failed dependencies 错误原因:这是由于yum安装了 ...
- linux 使用rpm安装软件时,遇到"warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY "错误
建议的做法: warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY 网上资料说这是 ...
- warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
问题: yum安装软件时候报如下错误: warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOK ...
- rpm安装软件时提示warning: *.rpm: Header V3 RSA/SHA256 Signature, keykey ID c105b9de
在RedHat下有时候用rpm安装软件是会出现下面则中错误 1.安装时提示:warning: *.rpm: Header V3 RSA/SHA256 Signature, keykey ID c105 ...
随机推荐
- asp.net 字符串替换、截取。
有时候要在一段字符串里面把某些字符替换成其他字符,怎么办? 例如: string image=@"csks/news/user_top/qqqq/qqqq.jpg"; image ...
- duilib入门简明教程 -- VS环境配置(2) (转)
原文转自:http://www.cnblogs.com/Alberl/p/3342030.html 既然是入门教程,那当然得基础点,因为搜索duilib相关资料时,发现有些小伙伴到处都是编译错 ...
- linux安全机制学习【转】
转自:http://blog.csdn.net/qq_20307987/article/details/51307820 曾经一度想学来着,今天看到一个链接,讲的很好,算是写一下加深印象吧 1 栈溢出 ...
- shell script timer and 無限迴圈
while : do echo " infinite loop" sleep 2; done
- DNS+CDN
参考: 一起学DNS系列文章:http://jeffyyko.blog.51cto.com/28563/186026 CDN技术原理:http://kb.cnblogs.com/page/121664 ...
- StringBuilder 字符串拼接扩容
String str = a + b + c(a,b,c都是变量,非常量) 实际执行时,"+"操作是通过创建一个StringBuilder来操作的,即: StringBuilder ...
- HDU5036 Explosion(期望&&bitset)
#include <iostream> #include <cstring> #include <string> #include <vector> # ...
- git的使用学习(八)自定义git
在安装Git一节中,我们已经配置了user.name和user.email,实际上,Git还有很多可配置项. 比如,让Git显示颜色,会让命令输出看起来更醒目: $ git config --glob ...
- springBoot AOP环绕增强、自定义注解、log4j2、MDC
(一)log4j2 maven配置 <dependency> <groupId>org.springframework.boot</groupId> <art ...
- HDU 2767.Proving Equivalences-强连通图(有向图)+缩点
Proving Equivalences Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Oth ...