首页 > 代码库 > rpm安装pdksh-5.2.14报错:“ Failed dependencies:”

rpm安装pdksh-5.2.14报错:“ Failed dependencies:”


1. 安装pdksh-5.2.14-37.el5_8.1.x86_64.rpm

[root@oracle ~]# rpm -lvh pdksh-5.2.14-37.el5_8.1.x86_64.rpm  
rpm: --hash (-h) may only be specified during package installation
[root@oracle ~]# rpm -ivh pdksh-5.2.14-37.el5_8.1.x86_64.rpm   
warning: pdksh-5.2.14-37.el5_8.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
error: Failed dependencies:
        pdksh conflicts with ksh-20120801-33.el6.x86_64

2. 解决办法

[root@oracle ~]#  rpm -qa | grep ksh
ksh-20120801-33.el6.x86_64
[root@oracle ~]# rpm -e ksh-20120801-33.el6.x86_64
[root@oracle ~]#  rpm -qa | grep ksh

3. 再次尝试

[root@oracle ~]# rpm -ivh pdksh-5.2.14-37.el5_8.1.x86_64.rpm 
warning: pdksh-5.2.14-37.el5_8.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
Preparing...                ########################################### [100%]
   1:pdksh                  ########################################### [100%]

-----到此下载成功!!!

本文出自 “土豆” 博客,请务必保留此出处http://zhaoyulin.blog.51cto.com/11665101/1873884

rpm安装pdksh-5.2.14报错:“ Failed dependencies:”