解决安装oracle11g r2时提示pdksh conflicts with ksh-20100621-2.el6.i686问题

http://blog.csdn.net/linghao00/article/details/7943740 http://www.2cto.com/os/201306/218566.html
在CenOS6、RHEL6或者ORACLE LINUX 6上安装oracle 11g R2的时候提示:pdksh包没有安装, 按照提示从网上下了个pdksh-5.2.14-36.el5.i386.rpm包,然后尝试安装: # rpm -ivh pdksh-5.2.14-36.el5.i386.rpm warning: pdksh-5.2.14-36.el5.i386.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY error: Failed dependencies: pdksh conflicts with ksh-20100621-2.el6.i686 这个问题解决非常简单: # rpm -e ksh-20100621-2.el6.i686 # rpm -ivh pdksh-5.2.14-36.el5.i386.rpm    
昨日为了测试一个机制,在centos6.2下面安装11gr2,遇到pdksh-5.2.14这个包不能自动安装(如图1)。
记下地址,为了我这个日益健忘的脑子。
网上找了很久得之,于是手动安装OK(如图2)。
操作步骤:
#下载i386二进制包文件
[root@localhost oracle]# wget http://mirror.centos.org/centos/5/os/i386/CentOS/pdksh-5.2.14-37.el5_8.1.i386.rpm
--2013-06-06 18:47:22-- http://mirror.centos.org/centos/5/os/i386/CentOS/pdksh-5.2.14-37.el5_8.1.i386.rpm
Resolving mirror.centos.org... 202.76.233.2
Connecting to mirror.centos.org|202.76.233.2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 202853 (198K) [application/x-rpm]
Saving to: “pdksh-5.2.14-37.el5_8.1.i386.rpmâ€
100%[======================================>] 202,853 157K/s in 1.3s
2013-06-06 18:47:24 (157 KB/s) - “pdksh-5.2.14-37.el5_8.1.i386.rpmâ€
##附X64位安装包地址 http://mirror.centos.org/centos/5/os/x86_64/CentOS/pdksh-5.2.14-37.el5_8.1.x86_64.rpm
#安装完成
[root@localhost oracle]# yum install pdksh-5.2.14-37.el5_8.1.i386.rpm
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Setting up Install Process
Examining pdksh-5.2.14-37.el5_8.1.i386.rpm: pdksh-5.2.14-37.el5_8.1.i386
Marking pdksh-5.2.14-37.el5_8.1.i386.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package pdksh.i386 0:5.2.14-37.el5_8.1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
 Package  Arch    Version                Repository                        Size
================================================================================
Installing:
 pdksh    i386    5.2.14-37.el5_8.1      /pdksh-5.2.14-37.el5_8.1.i386    364 k
Transaction Summary
================================================================================
Install       1 Package(s)
Total size: 364 k
Installed size: 364 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : pdksh-5.2.14-37.el5_8.1.i386                                 1/1
Installed:
  pdksh.i386 0:5.2.14-37.el5_8.1
Complete!
图1
图2
--EOF
posted @ 2014-04-25 09:23  adodo1  Views(2122)  Comments(0Edit  收藏  举报