在Linux/Unix中非常新,所以请给我一些关于这个问题的建议。我试图从RPM安装libxml2-devel,但我收到了以下消息
rpm -ivh libxml2-devel-2.9.1-5.el7_0.1.x86_64.rpm
error: Failed dependencies:
libxml2 = 2.9.1-5.el7_0.1 is needed by libxml2-devel-2.9.1-5.el7_0.1.x86_64于是我试着安装libxml2,得到了以下信息:
# rpm -ivh libxml2-2.9.1-5.el7_0.1.x86_64.rpm
warning: libxml2-2.9.1-5.el7_0.1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 192a7d7d: NOKEY
Preparing... ################################# [100%]
file /usr/bin/xmlcatalog from install of libxml2-2.9.1-5.el7_0.1.x86_64 conflicts with file from package libxml2-2.9.1-5.el7.x86_64
file /usr/bin/xmllint from install of libxml2-2.9.1-5.el7_0.1.x86_64 conflicts with file from package libxml2-2.9.1-5.el7.x86_64
file /usr/lib64/libxml2.so.2.9.1 from install of libxml2-2.9.1-5.el7_0.1.x86_64 conflicts with file from package libxml2-2.9.1-5.el7.x86_64请注意,机器上没有Internet访问,而且安装是脱机的,这就是我使用RPM的原因。
该系统在CentOS 7上运行。
如果我能在这里做点什么,请给我建议?
发布于 2015-12-10 14:32:06
您已经安装了一个旧版本的libxml2,因此您需要首先更新它。
rpm -Uvh libxml2-*https://serverfault.com/questions/742160
复制相似问题