Plugin "refresh-packagekit" can't be imported
Loaded plugins: security
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in
yummain.user_main(sys.argv[1:], exit_code=True)
......
........
...........
self.parse(srcfile)
File "/usr/lib/python2.6/site-packages/yum/repoMDObject.py", line 140, in parse
parser = iterparse(infile)
File "/usr/lib/python2.6/site-packages/yum/misc.py", line 1169, in cElementTree_iterparse
_cElementTree_import()
File "/usr/lib/python2.6/site-packages/yum/misc.py", line 1164, in _cElementTree_import
import cElementTree
ImportError: No module named cElementTree
VKA
发布于
2013-02-16
2
个回答
0
人赞同
如果是红帽企业Linux 6.3
Solution:
libexpat.so.1的符号链接链接到/lib64/中的libexpat.so.1.5.2。
该目录被重命名为 libexpat.so.1.old。用正确的名称重新创建符号链接
解决了这个问题。