对于pdksh软件包,可从以下URL下载:
ftp://fr2.rpmfind.net/linux/PLD/dists/ac/ready/i686/pdksh-5.2.14-33.i686.rpm
由于该包中设定的sh的符号联接及man文档与bash软件包冲突,需要使用以下方法安装:
# rpm -iv --replacefiles pdksh-5.2.14-33.i686.rpm
pdksh-5.2.14-36.el5.i386.rpm 
下载地址:
http://pkgs.org/download/centos-5-rhel-5/centos-rhel-i386/pdksh-5.2.14-36.el5.i386.rpm.html
[root@ora11g tmp]# rpm -ivh pdksh-5.2.14-36.el5.i386.rpm
warning: pdksh-5.2.14-36.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
error: Failed dependencies:
        pdksh conflicts with ksh-20060214-1.7.i386
      conflicts:冲突的意思,开始我还以为是依赖        
[root@ora11g CentOS]# rpm -ivh ksh-20060214-1.7.i386.rpm 
warning: ksh-20060214-1.7.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
Preparing...                ########################################### [100%]
        package ksh-20060214-1.7 is already installed
你可以进www.rpmfind.org 搜索pdksh这个包,找一个适合你的
操作系统版本的,然后安装即可,如果和 ksh有冲突,可以用
#rpm -e ksh 把ksh卸载掉,如果还有包依赖关系的话,用
#rpm -ivh --nodeps pdksh  强制安装,我在centos5.3 x86_64安装
oracle 11g R2 64位时也遇到过类似问题。
[root@ora11g tmp]# rpm -e ksh

[root@ora11g tmp]# rpm -ivh pdksh-5.2.14-36.el5.i386.rpm 
warning: pdksh-5.2.14-36.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
Preparing...                ########################################### [100%]
   1:pdksh                  ########################################### [100%]
[root@ora11g tmp]# 
问题解决了
Logo

更多推荐