大哥,这我也早想到了这是出错信息 [root@localhost root]# rpm -ivh openssl-perl-0.9.7a-2.i386.rpm error: Failed dependencies: openssl = 0.9.7a-2 is needed by openssl-perl-0.9.7a-2 [root@localhost root]# rpm -ivh openssl-devel-0.9.7a-2.i386.rpm error: Failed dependencies: krb5-devel is needed by openssl-devel-0.9.7a-2 openssl = 0.9.7a-2 is needed by openssl-devel-0.9.7a-2 [root@localhost root]# rpm -ivh krb5-libs-1.2.7-10.i386.rpm Preparing... ########################################### [100%] package krb5-libs-1.2.7-14 (which is newer than krb5-libs-1.2.7-10) is already installed file /usr/kerberos/lib/libcom_err.so.3.0 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14 file /usr/kerberos/lib/libdes425.so.3.0 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14 file /usr/kerberos/lib/libdyn.so.1.0 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14 file /usr/kerberos/lib/libgssapi_krb5.so.2.2 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14 file /usr/kerberos/lib/libgssrpc.so.3.0 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14 file /usr/kerberos/lib/libk5crypto.so.3.0 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14 file /usr/kerberos/lib/libkadm5clnt.so.5.0 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14 file /usr/kerberos/lib/libkadm5srv.so.5.0 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14 file /usr/kerberos/lib/libkdb5.so.3.2 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14 file /usr/kerberos/lib/libkrb4.so.2.0 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14 file /usr/kerberos/lib/libkrb5.so.3.1 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14 file /usr/kerberos/lib/libpty.so.1.2 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14 [root@localhost root]#
发布评论
评论(9)
看来是依赖型没有解决,你就把它要的包都放到一个目录下,用 rpm -ivh *.rpm
大哥,这我也早想到了这是出错信息
[root@localhost root]# rpm -ivh openssl-perl-0.9.7a-2.i386.rpm
error: Failed dependencies:
openssl = 0.9.7a-2 is needed by openssl-perl-0.9.7a-2
[root@localhost root]# rpm -ivh openssl-devel-0.9.7a-2.i386.rpm
error: Failed dependencies:
krb5-devel is needed by openssl-devel-0.9.7a-2
openssl = 0.9.7a-2 is needed by openssl-devel-0.9.7a-2
[root@localhost root]# rpm -ivh krb5-libs-1.2.7-10.i386.rpm
Preparing... ########################################### [100%]
package krb5-libs-1.2.7-14 (which is newer than krb5-libs-1.2.7-10) is already installed
file /usr/kerberos/lib/libcom_err.so.3.0 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14
file /usr/kerberos/lib/libdes425.so.3.0 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14
file /usr/kerberos/lib/libdyn.so.1.0 from install of krb5-libs-1.2.7-10
conflicts with file from package krb5-libs-1.2.7-14
file /usr/kerberos/lib/libgssapi_krb5.so.2.2 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14
file /usr/kerberos/lib/libgssrpc.so.3.0 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14
file /usr/kerberos/lib/libk5crypto.so.3.0 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14
file /usr/kerberos/lib/libkadm5clnt.so.5.0 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14
file /usr/kerberos/lib/libkadm5srv.so.5.0 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14
file /usr/kerberos/lib/libkdb5.so.3.2 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14
file /usr/kerberos/lib/libkrb4.so.2.0 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14
file /usr/kerberos/lib/libkrb5.so.3.1 from install of krb5-libs-1.2.7-10 conflicts with file from package krb5-libs-1.2.7-14
file /usr/kerberos/lib/libpty.so.1.2 from install of krb5-libs-1.2.7-10
conflicts with file from package krb5-libs-1.2.7-14
[root@localhost root]#
提示缺什么包就装什么包。
用不着选择所有的开发工具,主要是与gcc相关的软件包,可以首先安装gcc软件包,提示装什么再继续装,一共也不会有多少包的。
是不是我升级过,但在升级前没有装GCC编译器,而系统自带的安装GCC要
krb5-libs-1.2.7-10,但很奇怪的就是
openssl-perl-0.9.7a-2.i386.rpm和openssl-devel-0.9.7a-2.i386.rpm就是死活装不上
天啊,而安装GCC又要
晕了
就是提示少2个包,但我就是装不上
krb5-libs-1.2.7.10和openssl0.9.7.a这两个包
出错现象如上爱
请你首先看看提示:
krb5-libs-1.2.7.10这个软件包比当前系统中安装的krb5-libs-1.2.7.14软件包旧,说明系统中已经安装了krb5-libs软件包,无需再安装了。
[root@localhost root]# rpm -ivh openssl-perl-0.9.7a-2.i386.rpm
error: Failed dependencies:
openssl = 0.9.7a-2 is needed by openssl-perl-0.9.7a-2
[root@localhost root]# rpm -ivh openssl-devel-0.9.7a-2.i386.rpm
error: Failed dependencies:
krb5-devel is needed by openssl-devel-0.9.7a-2
openssl = 0.9.7a-2 is needed by openssl-devel-0.9.7a-2
上面的提示是说你应该首先安装openssl-0.9.7a-2软件包,而不是openssl-devel包等
直接下载gcc.org的rpm包!提示缺什么就装什么!
用apt吧,这些都不用管了