Yum Error during Anaconda installation

Source: Internet
Author: User

Setup has made an error in the next step after setting the password:

Trackback (most recent call i):

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.

In the system integration process I did not modify the integration script, just replaced the pool directory, carefully check that I changed the package is Yum:

The original version is yum-3.2.19-18.noarch.rpm

Now the version is yum-3.2.22-26.el5.centos.noarch.rpm

And the original use of: yum-kernel-module-1.1.16-14.el5.centos.1.noarch.rpm

Then restore the Yum version, and increase the Yum-kernel-module integration System, the system installed is normal.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.