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 centosg.centos.org/centos/5/contrib/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. centoso.centos.org/centos/5/contrib/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. centosf.centos.org/centos/5/contrib/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. centose.centos.org/centos/5/contrib/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. centosj.centos.org/centos/5/contrib/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. centosh.centos.org/centos/5/contrib/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. centosi.centos.org/centos/5/contrib/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. centosk.centos.org/centos/5/contrib/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. 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 -- Mark "If you have found a very wise man, then you've found a man that at one time was an idiot and lived long enough to learn from his own stupidity." =============================================Powered by CentOS5 (RHEL5)
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 > centosg.centos.org/centos/5/contrib/i386/repodata/repomd.xml: > [Errno 14] HTTP Error 404: Not Found > Trying other mirror. > centoso.centos.org/centos/5/contrib/i386/repodata/repomd.xml: > [Errno 14] HTTP Error 404: Not Found > Trying other mirror. > centosf.centos.org/centos/5/contrib/i386/repodata/repomd.xml: > [Errno 14] HTTP Error 404: Not Found > Trying other mirror. > centose.centos.org/centos/5/contrib/i386/repodata/repomd.xml: > [Errno 14] HTTP Error 404: Not Found > Trying other mirror. > centosj.centos.org/centos/5/contrib/i386/repodata/repomd.xml: > [Errno 14] HTTP Error 404: Not Found > Trying other mirror. > centosh.centos.org/centos/5/contrib/i386/repodata/repomd.xml: > [Errno 14] HTTP Error 404: Not Found > Trying other mirror. > centosi.centos.org/centos/5/contrib/i386/repodata/repomd.xml: > [Errno 14] HTTP Error 404: Not Found > Trying other mirror. > centosk.centos.org/centos/5/contrib/i386/repodata/repomd.xml: > [Errno 14] HTTP Error 404: Not Found > Trying other mirror. > 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: <lists.centos.org/pipermail/centos/attachments/20070418/bf865af8/attachment-0004.sig>
On Wed, 2007-04-18 at 10:21 -0500, Johnny Hughes wrote:> 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.I'd venture a guess that there exists /etc/yum.repos.d/CentOS-Base.repo.rpmnew In which case # mv /etc/yum.repos.d/CentOS-Base.repo.rpmnew \ /etc/yum.repos.d/CentOS-Base.repo should do the trick. Phil