Chinaunix首页 | 论坛 | 博客
  • 博客访问: 893052
  • 博文数量: 139
  • 博客积分: 10016
  • 博客等级: 上将
  • 技术积分: 932
  • 用 户 组: 普通用户
  • 注册时间: 2005-07-31 02:15
文章存档

2008年(19)

2007年(73)

2006年(46)

2005年(1)

我的朋友

分类: LINUX

2006-11-09 10:45:22

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*即可解决。
以后升级会提示这个软件包没有完整升级的提示,不过不影响使用。
阅读(1319) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~