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%]

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