Hello all, I manage a few servers overseas that are running CentOS 6. When performing a yum update, it fails because it's trying to download from: mirror.centos.org/centos/*6.6*/extras/x86_64/repodata/repomd.xml Which fails due to the fact that the entire 6.6 directory is empty on all of the mirrors I have checked. From what I can tell it should be using: mirror.centos.org/centos/*6*/extras/x86_64/repodata/repomd.xml Does anyone have any idea why this would be happening? Obviously changing the CentOS-Base file to use 'baseurl' rather than 'mirrorlist' is a workaround, but I would prefer a more permanent solution, and would like to know why this is happening. Thanks in advance.
On Mon, Oct 19, 2015 at 4:21 PM, John Cenile <jcenile1983 at gmail.com> wrote:> Hello all, > > I manage a few servers overseas that are running CentOS 6. > > When performing a yum update, it fails because it's trying to download > from: > > mirror.centos.org/centos/*6.6*/extras/x86_64/repodata/repomd.xml > > > Which fails due to the fact that the entire 6.6 directory is empty on all > of the mirrors I have checked. From what I can tell it should be using: > > mirror.centos.org/centos/*6*/extras/x86_64/repodata/repomd.xml > > > Does anyone have any idea why this would be happening? Obviously changing > the CentOS-Base file to use 'baseurl' rather than 'mirrorlist' is a > workaround, but I would prefer a more permanent solution, and would like to > know why this is happening. > > Thanks in advance. > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >Hi, in most cases you would expect mirrorlist to be defined rather than baseurl unless you want to be pointing to a specific repository. I would suggest that you do a fresh install somewhere update it and then compare the files in /etc/yum.repos.d/ with your existing systems. As examples of base and updates from one of my own systems I have [base] name=CentOS-$releasever - Base mirrorlisthttp://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 #released updates [updates] name=CentOS-$releasever - Updates mirrorlisthttp://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
On 10/18/2015 8:21 PM, John Cenile wrote:> Which fails due to the fact that the entire 6.6 directory is empty on all > of the mirrors I have checked.isn't 6.7 out ? why would there be anything left in 6.6 ? -- john r pierce, recycling bits in santa cruz
Hello Clint, Our Centos-base.repo file looks like this: [base] name=CentOS-$releasever - Base mirrorlisthttp://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 I also tried yours, however I experienced the same issue. It seems like it's replacing the "releaserver" variable with 6.6, rather than 6, I'm not sure why though. On 19 October 2015 at 14:59, John R Pierce <pierce at hogranch.com> wrote:> On 10/18/2015 8:21 PM, John Cenile wrote: > >> Which fails due to the fact that the entire 6.6 directory is empty on all >> of the mirrors I have checked. >> > > isn't 6.7 out ? why would there be anything left in 6.6 ? > > -- > john r pierce, recycling bits in santa cruz > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >
> > On 19 Oct 2015, at 04:22, "John Cenile" <jcenile1983 at gmail.com> wrote: > > When performing a yum update, it fails because it's trying to download from: > > mirror.centos.org/centos/*6.6*/extras/x86_64/repodata/repomd.xml > > Which fails due to the fact that the entire 6.6 directory is empty on all > of the mirrors I have checkedI had something similar happen recently when upgrading a box from 6.6 to 6.7 I 'fixed' it by running 'yum clean all' first I did think it odd at the time - but didn't get round to trying to find out why ... James Pearson
I have tried yum clean all multiple times, no luck. :( Any other ideas? On 19 October 2015 at 18:01, James Pearson <james-p at moving-picture.com> wrote:> > > > On 19 Oct 2015, at 04:22, "John Cenile" <jcenile1983 at gmail.com> wrote: > > > > When performing a yum update, it fails because it's trying to download > from: > > > > mirror.centos.org/centos/*6.6*/extras/x86_64/repodata/repomd.xml > > > > Which fails due to the fact that the entire 6.6 directory is empty on all > > of the mirrors I have checked > > I had something similar happen recently when upgrading a box from 6.6 to > 6.7 > > I 'fixed' it by running 'yum clean all' first > > I did think it odd at the time - but didn't get round to trying to find > out why ... > > James Pearson > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >