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 ...
随机推荐
- 乌班图中的ssh服务
SSH服务(TCP端口号22):安全的命令解释器 为客户机提供安全的Shell 环境,用于远程管理 ...
- [LeetCode] Unique Binary Search Trees II dfs 深度搜索
Given n, generate all structurally unique BST's (binary search trees) that store values 1...n. For e ...
- [LeetCode] Sudoku Solver 解数独,递归,回溯
Write a program to solve a Sudoku puzzle by filling the empty cells. Empty cells are indicated by th ...
- duilib入门简明教程 -- 响应按钮事件(4) (转)
原文转自 http://www.cnblogs.com/Alberl/p/3343610.html 上一个Hello World的教程里有一句代码是这样的:CControlUI *pWnd = ...
- android基本控件学习-----ProgressBar
ProgressBar(进度条)讲解 一.常用属性和基础使用实例 (1)常用属性: android:max:进度条的最大值 android:progress:进度条已完成进度值 android:pro ...
- LeetCode OJ--Merge Intervals @
https://oj.leetcode.com/problems/merge-intervals/ 合并区间 //排序 sort(intervals.begin(),intervals.end(),C ...
- 对动态规划(Dynamic Programming)的理解:从穷举开始(转)
转自:http://janfan.cn/chinese/2015/01/21/dynamic-programming.html 动态规划(Dynamic Programming,以下简称dp)是算法设 ...
- 洛谷——P1977 出租车拼车
题目背景 话说小 x 有一次去参加比赛,虽然学校离比赛地点不太远,但小 x 还是想坐 出租车去.大学城的出租车总是比较另类,有“拼车”一说,也就是说,你一个人 坐车去,还是一堆人一起,总共需要支付的钱 ...
- rsync 备份 CENTOS 系统!
rsync是一个非常优秀的文件同步工具,从它的名字可以看出,它支持远程同步.当然,在备份我的桌面系统时,只需要用到它的本地同步功能就行了.之所以选择rsync,是因为它具有如下优点:在备份还原过程中, ...
- Maven 多模块父子工程 (含Spring Boot示例)
一.为什么要用Maven多模块 假设有这样一个项目,很常见的Java Web应用.在这个应用中,我们分了几层: Dao Service Web 对应的,在一个项目中,我们会看到一些包名: org.xx ...