免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3709 | 回复: 1

rhel安装centos的yum出错 [复制链接]

论坛徽章:
0
发表于 2007-11-28 16:21 |显示全部楼层
我把各个需求的组件都安装上去了,但是运行的时候出现下面的错误:

#yum -y update
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   /usr/lib/python2.3/site-packages/cElementTree.so: cannot open shared object file: No such file or directory

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.3.4 (#1, Feb  6 2006, 10:38:45)
[GCC 3.4.5 20051201 (Red Hat 3.4.5-2)]

If you cannot solve this problem yourself, please send this
message to <yum@lists.linux.duke.edu>.


我看了,系统里面存在/usr/lib/python2.3/site-packages/cElementTree.so这个文件

请问这个是什么问题,该如何解决?
谢谢!

论坛徽章:
0
发表于 2007-11-28 18:02 |显示全部楼层
解决了,原来我的cpu是64位的,我装的python是i386的,重新安装x86_64的python之后就可以运行yum了

但是执行yum -y update的时候出现下面的错误

Error: Missing Dependency: kernel-ib is needed by package librdmacm
Error: Missing Dependency: kernel-ib is needed by package libsdp
Error: Missing Dependency: kernel-ib is needed by package libibverbs
Error: Missing Dependency: kernel-ib is needed by package dapl
Error: Missing Dependency: kernel-ib is needed by package libmthca
Error: Unable to satisfy dependencies
Error: Package libibverbs needs kernel-ib, this is not available.
Error: Package dapl needs kernel-ib, this is not available.
Error: Package cracklib needs cracklib-dicts@x86_64 = 2.7-29, this is not available.
Error: Package librdmacm needs kernel-ib, this is not available.
Error: Package libsdp needs kernel-ib, this is not available.
Error: Package libmthca needs kernel-ib, this is not available.

好像是丢失了很多的文件
不知道该怎么办了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP