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
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
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