[CentOS] Yum Mirror Errors

Wed Apr 18 15:21:41 UTC 2007
Johnny Hughes <mailing-lists at hughesjr.com>

On Wed, 2007-04-18 at 07:16 -0400, Mark Weaver wrote:
> While attempting to grab some packages from the repos I've been getting
> a lot of mirror errors. Anyone have any idea why?
> 
> I've recently updated from CentOS 5 Beta2 to the final version and it
> went flawlessly. The first thing I did though was to update the
> centos-release packages per a previous post. I was under the impression
> this would take care of repo problems. Was I incorrect?
> 
> Errors:
> Setting up repositories
> http://centosg.centos.org/centos/5/contrib/i386/repodata/repomd.xml:
> [Errno 14] HTTP Error 404: Not Found
> Trying other mirror.
> http://centoso.centos.org/centos/5/contrib/i386/repodata/repomd.xml:
> [Errno 14] HTTP Error 404: Not Found
> Trying other mirror.
> http://centosf.centos.org/centos/5/contrib/i386/repodata/repomd.xml:
> [Errno 14] HTTP Error 404: Not Found
> Trying other mirror.
> http://centose.centos.org/centos/5/contrib/i386/repodata/repomd.xml:
> [Errno 14] HTTP Error 404: Not Found
> Trying other mirror.
> http://centosj.centos.org/centos/5/contrib/i386/repodata/repomd.xml:
> [Errno 14] HTTP Error 404: Not Found
> Trying other mirror.
> http://centosh.centos.org/centos/5/contrib/i386/repodata/repomd.xml:
> [Errno 14] HTTP Error 404: Not Found
> Trying other mirror.
> http://centosi.centos.org/centos/5/contrib/i386/repodata/repomd.xml:
> [Errno 14] HTTP Error 404: Not Found
> Trying other mirror.
> http://centosk.centos.org/centos/5/contrib/i386/repodata/repomd.xml:
> [Errno 14] HTTP Error 404: Not Found
> Trying other mirror.
> http://centosn.centos.org/centos/5/contrib/i386/repodata/repomd.xml:
> [Errno 14] HTTP Error 404: Not Found
> Trying other mirror.
> Error: Cannot open/read repomd.xml file for repository: contrib
> 

There is no contrib repo in CentOS 5 ... please edit
your /etc/yum.repos.d/CentOS-Base.repo file and turn it off (enabled=0)
or just remove that section.

It is off by default, not sure how it got turned on in your case.

Thanks,
Johnny Hughes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20070418/bf865af8/attachment-0005.sig>