Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have done lots of things to update.

yum clean all.
yum clean metadata
yum clean dbcache

then ...

yum update

but the output is:

http://mirror.centos.org/centos/5.6/addons/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror.

Error: Cannot retrieve repository metadata (repomd.xml) for repository: addons. Please verify its path and try again

I have done also:

vi /etc/yum.repos.d/CentOS-Media.repo

Modify it to enabled=0

But the same. :(

I have done this too:

yum -v update --disablerepo=contrib
uname -a

The same

I have done again another way... like...

touch /.autorelabel

yum -v update --disablerepo=contrib

What should i do????Give me some answer :( :( please.

share|improve this question

migrated from stackoverflow.com Nov 4 '11 at 8:04

This question came from our site for professional and enthusiast programmers.

Should be moved to unix.stackexchange.com –  Matten Nov 3 '11 at 11:01
Matten @ Thanks that solved the problem ??? –  Robel sharma Nov 3 '11 at 11:25

1 Answer 1

up vote 1 down vote accepted

If you open the link, you get a 404 error, which is exactly what yum told you.

If you go down the tree until http://mirror.centos.org/centos/5.6/, you can see a readme:

This directory (and version of CentOS) is depreciated. For normal users, you should use /5/ and not /5.6/ in your path. Please see this FAQ concerning the CentOS release scheme:


If you know what you are doing, and absolutely want to remain at the 5.6 level, go to http://vault.centos.org/ for packages. Please keep in mind that 5.6 no longer gets any updates

You should check how to upgrade to a newer version.

share|improve this answer
Thanks all my problem with analysis of my yum.repos.d :)If anyone need the answer I'll help.Thanks for your answer @wormsparty –  Robel sharma Nov 4 '11 at 3:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.