LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1501|回复: 20

请问。

[复制链接]
发表于 2004-8-5 08:54:34 | 显示全部楼层 |阅读模式
我想升级我的这个包,可是提示如下。为什么啊。应该怎么升级呢?

[root@localhost hdb7]# rpm -U libxml2-python-2.6.8-1.i386.rh9.rpm
error: Failed dependencies:
        libxml2 = 2.6.8 is needed by libxml2-python-2.6.8-1

[root@localhost hdb7]# rpm -ivh libxml2-python-2.6.8-1.i386.rh9.rpm
error: Failed dependencies:
        libxml2 = 2.6.8 is needed by libxml2-python-2.6.8-1
[root@localhost hdb7]#

[root@localhost root]# rpm -e libxml2-python
error: Failed dependencies:
        libxml2-python is needed by (installed) redhat-config-packages-1.1.8-1
[root@localhost root]#
发表于 2004-8-5 08:58:57 | 显示全部楼层
那就先升libxml2啊
 楼主| 发表于 2004-8-5 09:10:50 | 显示全部楼层
可是我先升那个,它说要先升这个。不知这几个文件的依赖关系是如何的。
发表于 2004-8-5 10:56:00 | 显示全部楼层
rpm -q libxml2-python
看看你现在的libxml2-python版本。
你尚未安装libxml2-python-2.6.8-1.i386.rh9.rpm,
需要先安装libxml2,
找到这个包装上;
 楼主| 发表于 2004-8-5 14:54:34 | 显示全部楼层
configure: error: libxml2 version 2.5.10 or greater required.
[root@localhost php-5.0.0]# rpm -q libxml2
libxml2-2.5.4-1
[root@localhost php-5.0.0]#


[root@localhost hdb7]# rpm -U libxml2-2.6.11-1.i386.rpm
warning: libxml2-2.6.11-1.i386.rpm: V3 DSA signature: NOKEY, key ID de95bc1f
error: Failed dependencies:
        libxml2 = 2.5.4 is needed by (installed) libxml2-python-2.5.4-1
        libxml2 = 2.5.4 is needed by (installed) libxml2-devel-2.5.4-1


[root@localhost hdb7]# rpm -ivh libxml2-2.6.11-1.i386.rpm
warning: libxml2-2.6.11-1.i386.rpm: V3 DSA signature: NOKEY, key ID de95bc1f
Preparing...                ########################################### [100%]
        file /usr/bin/xmlcatalog from install of libxml2-2.6.11-1 conflicts with file
from package libxml2-2.5.4-1
        file /usr/bin/xmllint from install of libxml2-2.6.11-1 conflicts with file from package libxml2-2.5.4-1
        file /usr/lib/libxml2.so.2 from install of libxml2-2.6.11-1 conflicts with file from package libxml2-2.5.4-1
        file /usr/share/man/man1/xmlcatalog.1.gz from install of libxml2-2.6.11-1 conflicts with file from package libxml2-2.5.4-1
        file /usr/share/man/man1/xmllint.1.gz from install of libxml2-2.6.11-1 conflicts with file from package libxml2-2.5.4-1
        file /usr/share/man/man3/libxml.3.gz from install of libxml2-2.6.11-1 conflicts with file from package libxml2-2.5.4-1
[root@localhost hdb7]#



[root@localhost hdb7]# rpm -U libxml2-python-2.6.8-1.i386.rh9.rpm
error: Failed dependencies:
        libxml2 = 2.6.8 is needed by libxml2-python-2.6.8-1
[root@localhost hdb7]# rpm -ivh libxml2-python-2.6.8-1.i386.rh9.rpm
error: Failed dependencies:
        libxml2 = 2.6.8 is needed by libxml2-python-2.6.8-1
[root@localhost hdb7]#

[root@localhost root]# rpm -e libxml2-python
error: Failed dependencies:
        libxml2-python is needed by (installed) redhat-config-packages-1.1.8-1
[root@localhost root]#



这是我最近安包的记录,有些乱。我都安了,但一个也没安上。
 楼主| 发表于 2004-8-5 19:34:40 | 显示全部楼层
发表于 2004-8-5 20:03:49 | 显示全部楼层
我也遇到了这样的问题:
我的机子是FC1的,我装了gcc-3.3.2-1.i386.rpm但中间断了,再装弹出已安装的对话枢。用命令安装的话有:
warning:gcc-3.3.2-1.i386.rpm:V3 DSA signature:NOKEY;key ID 4f2a6fd2
package gcc-3.3.2-1 is already installed
怎么办呀?
发表于 2004-8-5 20:57:20 | 显示全部楼层
呵呵,rpm.....闪!
 楼主| 发表于 2004-8-5 22:24:23 | 显示全部楼层
你那是已经安了。
 楼主| 发表于 2004-8-6 08:41:22 | 显示全部楼层
顶。还没明白。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表