红联Linux门户
Linux帮助

FC5升级后yum无法使用的解决

发布时间:2006-11-10 00:58:45来源:红联作者:Emperor
FC6升级后yum无法使用,提示如下:

引用:
[hegreas@hegreas ~]$ yum
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named cElementTree

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.4.4 (#1, Oct 23 2006, 13:58:00)
[GCC 4.1.1 20061011 (Red Hat 4.1.1-30)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq

[hegreas@hegreas ~]$


此时需要下载:python-elementtree-1.2.6-5.i386.rpm
然后rpm -ivh --force python*即可解决。
以后升级会提示这个软件包没有完整升级的提示,不过不影响使用。
文章评论

共有 0 条评论