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:
[hegreas@hegreas ~]$
此时需要下载:python-elementtree-1.2.6-5.i386.rpm
然后rpm -ivh --force python*即可解决。
以后升级会提示这个软件包没有完整升级的提示,不过不影响使用。
阅读(1364) | 评论(0) | 转发(0) |