yum install错误 系统环境:Oracle Linux5.4 在通过yum安装软件时出现以下错误:
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了yum install错误 系统环境:Oracle Linux5.4 在通过yum安装软件时出现以下错误:相关的知识,希望对你有一定的参考价值。
1、yum配置文件
2、安装故障
[[email protected] yum.repos.d]# yum install -y unix*
01 |
Loaded plugins: security |
03 |
base/primary | 795 kB 00 : 00 |
05 |
Setting up Install Process |
06 |
Package unix2dos- 2.2 - 26.2 . 3 .el5.i386 already installed and latest version |
07 |
Resolving Dependencies |
08 |
--> Running transaction check |
09 |
---> Package unixODBC.i386 0 : 2.2 . 11 - 7.1 set to be updated |
10 |
---> Package unixODBC-devel.i386 0 : 2.2 . 11 - 7.1 set to be updated |
11 |
---> Package unixODBC-kde.i386 0 : 2.2 . 11 - 7.1 set to be updated |
12 |
--> Finished Dependency Resolution |
14 |
====================================================================================================================================== |
15 |
Package Arch Version Repository Size |
16 |
====================================================================================================================================== |
18 |
unixODBC i386 2.2 . 11 - 7.1 base 830 k |
19 |
unixODBC-devel i386 2.2 . 11 - 7.1 base 743 k |
20 |
unixODBC-kde i386 2.2 . 11 - 7.1 base 560 k |
22 |
====================================================================================================================================== |
26 |
Total download size: 2.1 M |
28 |
-------------------------------------------------------------------------------------------------------------------------------------- |
29 |
Total 1.0 GB/s | 2.1 MB 00 : 00 |
错误提示:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 1e5e0159
base/gpgkey | 1.5 kB 00:00
Public key for unixODBC-kde-2.2.11-7.1.i386.rpm is not installed
--安装失败!
3、解决方法
从 RPM 版本 4.1 开始,在安装或升级软件包时会检查软件包的签名。如果签名校验失败,你就会看到如下所示
的错误消息:
error: V3 DSA signature: BAD, key ID 0352860f
如果它是新的、只针对文件头的签名,你会看到如下所示的错误消息:
error: Header V3 DSA signature: BAD, key ID 0352860f
如果你没有安装合适的钥匙来校验签名,消息中就会包含 NOKEY ,如:
warning: V3 DSA signature: NOKEY, key ID 0352860f
在CentOS下有的时候用yum安装软件的时候最后会提示:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID*****
这是由于yum安装了旧版本的GPG keys造成的,解决办法就是
#rpm --import /etc/pki/rpm-gpg/RPM*
[[email protected] yum.repos.d]# rpm --import /etc/pki/rpm-gpg/RPM*
4、重新安装
[[email protected] yum.repos.d]# yum install -y unix*
01 |
Loaded plugins: security |
02 |
Setting up Install Process |
03 |
Package unix2dos -2.2 -26.2. 3. el5.i386 already installed and latest version |
04 |
Resolving Dependencies |
05 |
--> Running transaction check |
06 |
---> Package unixODBC.i386 0 : 2.2. 11 -7.1 set to be updated |
07 |
---> Package unixODBC-devel.i386 0 : 2.2. 11 -7.1 set to be updated |
08 |
---> Package unixODBC-kde.i386 0 : 2.2. 11 -7.1 set to be updated |
09 |
--> Finished Dependency Resolution |
11 |
====================================================================================================================================== |
12 |
Package Arch Version Repository Size |
13 |
====================================================================================================================================== |
15 |
unixODBC i386 2.2. 11 -7.1 base 830 k |
16 |
unixODBC-devel i386 2.2. 11 -7.1 base 743 k |
17 |
unixODBC-kde i386 2.2. 11 -7.1 base 560 k |
19 |
====================================================================================================================================== |
23 |
Total download size: 2.1 M |
25 |
-------------------------------------------------------------------------------------------------------------------------------------- |
26 |
Total 1.2 GB/s | 2.1 MB 00 : 00 |
27 |
Running rpm_check_debug |
28 |
Running Transaction Test |
29 |
Finished Transaction Test |
30 |
Transaction Test Succeeded |
32 |
Installing : unixODBC 1 / 3 |
33 |
Installing : unixODBC-kde 2 / 3 |
34 |
Installing : unixODBC-devel 3 / 3 |
36 |
unixODBC.i386 0 : 2.2. 11 -7.1 unixODBC-devel.i386 0 : 2.2. 11 -7.1 unixODBC-kde.i386 0 : 2.2. 11 -7.1 |
--至此,软件包安装成功!
转:http://www.51itong.net/linux-study-yum-install-8388.html
以上是关于yum install错误 系统环境:Oracle Linux5.4 在通过yum安装软件时出现以下错误:的主要内容,如果未能解决你的问题,请参考以下文章
Centos6.7系统环境下使用 yum install 安装mysql-community-5.7.22(史上最简)
阿里云ECS 环境centos6.5 安装wdcp v2后 ,安装 subversion yum install subversion 出现错误。
你好我的系统是fedora6 按照你说的在命令行界面输入yum install gcc后显示如下错误:
解决在linux环境安装setuptools的相关错误
CentOS6系统源码安装LNMP环境详解
Docker安装使用