千家信息网

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

发表于:2024-11-13 作者:千家信息网编辑
千家信息网最后更新 2024年11月13日,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
千家信息网最后更新 2024年11月13日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: NOKEYerror: Failed dependencies:        pdksh conflicts with ksh-20120801-33.el6.x86_64

2. 解决办法

[root@oracle ~]#  rpm -qa | grep kshksh-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: NOKEYPreparing...                ########################################### [100%]   1:pdksh                  ########################################### [100%]

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

0