Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2029670
  • 博文数量: 414
  • 博客积分: 10312
  • 博客等级: 上将
  • 技术积分: 4921
  • 用 户 组: 普通用户
  • 注册时间: 2007-10-31 01:49
文章分类

全部博文(414)

文章存档

2011年(1)

2010年(29)

2009年(82)

2008年(301)

2007年(1)

分类: LINUX

2008-05-06 12:55:13

FC6升级后yum无法使用,提示如下:QUOTE:[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*即可解决。

以后升级会提示这个软件包没有完整升级的提示,不过不影响使用。
阅读(1148) | 评论(0) | 转发(0) |
0

上一篇:rpm 详解

下一篇:用gcc编译c++程序

给主人留下些什么吧!~~