anaconda安装过程中yum错误

来源:互联网 发布:淘宝跨店满减怎么用 编辑:程序博客网 时间:2024/06/06 04:45

安装程序在进行密码设置之后,进入下一步的过程中出错误:

Trackback (most recent call first):

  File

"/usr/lib/python2.4/site-packages/yum/repos.py",

line 295, in setAttribute

    set attr(self, key, value)

  File

"/tmp/treedir.4430/instimage/usr/lib/anaconda/yuminstall.py", line 204 , in __init__

     self.setAttribute('cachedir',  '/tmp/cache/')

   File

"/tmp/treedir.4430/instimage/usr/lib/anaconda/yuminstall.py" line 545 , in doConfigSetup

   root = root , method=self.method)

. . .

. . .

. . .

AttributeError: can't set attribute.

 

在系统集成过程中我没有修改集成脚本,只是更换了pool目录,仔细检查发现我更换的包是yum:

原来的版本是yum-3.2.19-18.noarch.rpm

现在的版本是yum-3.2.22-26.el5.centos.noarch.rpm

并且原来还使用了:yum-kernel-module-1.1.16-14.el5.centos.1.noarch.rpm

 

于是还原yum版本,并且增加yum-kernel-module重新集成系统后,作出来的系统安装就正常了!