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@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@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 mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #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 mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Hello Clint,
Our Centos-base.repo file looks like this:
[base] name=CentOS-$releasever - Base mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #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@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@centos.org https://lists.centos.org/mailman/listinfo/centos
On 10/19/2015 07:20 AM, John Cenile wrote:
Hello Clint,
Our Centos-base.repo file looks like this:
[base] name=CentOS-$releasever - Base mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #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.
In your initial post you mentioned problems with extras. Here you are changing the stanza of base. What is your stanza for "extras"?
On 19 October 2015 at 14:59, John R Pierce pierce@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 ?
Sorry, I just copied any line from the repo file. :)
On 19 October 2015 at 22:39, Nicolas Thierry-Mieg < Nicolas.Thierry-Mieg@imag.fr> wrote:
On 10/19/2015 07:20 AM, John Cenile wrote:
Hello Clint,
Our Centos-base.repo file looks like this:
[base] name=CentOS-$releasever - Base mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&rep... #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.
In your initial post you mentioned problems with extras. Here you are changing the stanza of base. What is your stanza for "extras"?
On 19 October 2015 at 14:59, John R Pierce pierce@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 ?
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On 19 Oct 2015, at 04:22, "John Cenile" jcenile1983@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
I have tried yum clean all multiple times, no luck. :(
Any other ideas?
On 19 October 2015 at 18:01, James Pearson james-p@moving-picture.com wrote:
On 19 Oct 2015, at 04:22, "John Cenile" jcenile1983@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@centos.org https://lists.centos.org/mailman/listinfo/centos
Thanks for the suggestions, unfortunately that file doesn't exist.
I'm very confused as to why it's trying to download from /6.6/.
The output of rpm -qi centos-release-6-4.el6.centos.10.x86_64 is:
Name : centos-release Relocations: (not relocatable) Version : 6 Vendor: CentOS Release : 4.el6.centos.10 Build Date: Mon 25 Feb 2013 07:57:43 PM EST Install Date: Fri 05 Jul 2013 09:32:33 AM EST Build Host: c6b8.bsys.dev.centos.org Group : System Environment/Base Source RPM: centos-release-6-4.el6.centos.10.src.rpm Size : 32670 License: GPLv2 Signature : RSA/SHA1, Sat 02 Mar 2013 01:01:26 AM EST, Key ID 0946fca2c105b9de Packager : CentOS BuildSystem http://bugs.centos.org Summary : CentOS release file Description : CentOS release files
On 19 October 2015 at 19:59, James Pearson james-p@moving-picture.com wrote:
John Cenile wrote:
I have tried yum clean all multiple times, no luck. :(
Also check you don't have the file /etc/yum/vars/releasever - the contents of this will override the value of $releasever in the repo files
James Pearson
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On 10/19/2015 06:49 AM, John Cenile wrote:
Thanks for the suggestions, unfortunately that file doesn't exist.
I'm very confused as to why it's trying to download from /6.6/.
The output of rpm -qi centos-release-6-4.el6.centos.10.x86_64 is:
Name : centos-release Relocations: (not relocatable) Version : 6 Vendor: CentOS Release : 4.el6.centos.10 Build Date: Mon 25 Feb 2013 07:57:43 PM EST Install Date: Fri 05 Jul 2013 09:32:33 AM EST Build Host: c6b8.bsys.dev.centos.org Group : System Environment/Base Source RPM: centos-release-6-4.el6.centos.10.src.rpm Size : 32670 License: GPLv2 Signature : RSA/SHA1, Sat 02 Mar 2013 01:01:26 AM EST, Key ID 0946fca2c105b9de Packager : CentOS BuildSystem http://bugs.centos.org Summary : CentOS release file Description : CentOS release files
On 19 October 2015 at 19:59, James Pearson james-p@moving-picture.com wrote:
John Cenile wrote:
I have tried yum clean all multiple times, no luck. :(
Also check you don't have the file /etc/yum/vars/releasever - the contents of this will override the value of $releasever in the repo files
James Pearson
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
What does this command give you from that machine:
curl "http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras"
Are you using ipv4 or ipv6?
I'm actually not able to connect to that host:
# curl "http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras" curl: (7) couldn't connect to host
Which lead me to discover that our entire network is picking up " mirrorlist.centos.org" as 204.15.73.243, which I'm not able to ping from any host in a few different countries I tried.
However, if I ping mirrorlist.centos.org from Europe, it resolves to 84.22.180.89, or from USA it resolves to 88.150.173.218, or from Asia it resolves to 108.61.16.227.
Could there be an issue with this specific mirrorlist server (204.15.73.243)?
On 20 October 2015 at 01:56, Johnny Hughes johnny@centos.org wrote:
On 10/19/2015 06:49 AM, John Cenile wrote:
Thanks for the suggestions, unfortunately that file doesn't exist.
I'm very confused as to why it's trying to download from /6.6/.
The output of rpm -qi centos-release-6-4.el6.centos.10.x86_64 is:
Name : centos-release Relocations: (not relocatable) Version : 6 Vendor: CentOS Release : 4.el6.centos.10 Build Date: Mon 25 Feb 2013 07:57:43 PM EST Install Date: Fri 05 Jul 2013 09:32:33 AM EST Build Host: c6b8.bsys.dev.centos.org Group : System Environment/Base Source RPM: centos-release-6-4.el6.centos.10.src.rpm Size : 32670 License: GPLv2 Signature : RSA/SHA1, Sat 02 Mar 2013 01:01:26 AM EST, Key ID 0946fca2c105b9de Packager : CentOS BuildSystem http://bugs.centos.org Summary : CentOS release file Description : CentOS release files
On 19 October 2015 at 19:59, James Pearson james-p@moving-picture.com wrote:
John Cenile wrote:
I have tried yum clean all multiple times, no luck. :(
Also check you don't have the file /etc/yum/vars/releasever - the
contents
of this will override the value of $releasever in the repo files
James Pearson
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
What does this command give you from that machine:
curl "http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras"
Are you using ipv4 or ipv6?
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On 10/19/2015 06:18 PM, John Cenile wrote:
I'm actually not able to connect to that host:
# curl "http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras" curl: (7) couldn't connect to host
Which lead me to discover that our entire network is picking up " mirrorlist.centos.org" as 204.15.73.243, which I'm not able to ping from any host in a few different countries I tried.
However, if I ping mirrorlist.centos.org from Europe, it resolves to 84.22.180.89, or from USA it resolves to 88.150.173.218, or from Asia it resolves to 108.61.16.227.
Those 3 addresses are good, the 204.15.73.243 is incorrect.
Could there be an issue with this specific mirrorlist server (204.15.73.243)?
Yes, that address is not listed in our DNS zone file for mirrorlist. In fact, that address is not in our zone file for anything .. so I have no idea where you are getting it looked up from.
On 20 October 2015 at 01:56, Johnny Hughes johnny@centos.org wrote:
On 10/19/2015 06:49 AM, John Cenile wrote:
Thanks for the suggestions, unfortunately that file doesn't exist.
I'm very confused as to why it's trying to download from /6.6/.
The output of rpm -qi centos-release-6-4.el6.centos.10.x86_64 is:
Name : centos-release Relocations: (not relocatable) Version : 6 Vendor: CentOS Release : 4.el6.centos.10 Build Date: Mon 25 Feb 2013 07:57:43 PM EST Install Date: Fri 05 Jul 2013 09:32:33 AM EST Build Host: c6b8.bsys.dev.centos.org Group : System Environment/Base Source RPM: centos-release-6-4.el6.centos.10.src.rpm Size : 32670 License: GPLv2 Signature : RSA/SHA1, Sat 02 Mar 2013 01:01:26 AM EST, Key ID 0946fca2c105b9de Packager : CentOS BuildSystem http://bugs.centos.org Summary : CentOS release file Description : CentOS release files
On 19 October 2015 at 19:59, James Pearson james-p@moving-picture.com wrote:
John Cenile wrote:
I have tried yum clean all multiple times, no luck. :(
Also check you don't have the file /etc/yum/vars/releasever - the
contents
of this will override the value of $releasever in the repo files
James Pearson
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
What does this command give you from that machine:
curl "http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras"
Are you using ipv4 or ipv6?
On Tue, Oct 20, 2015 at 12:29:06PM -0500, Johnny Hughes wrote:
Those 3 addresses are good, the 204.15.73.243 is incorrect.
204.15.73.243 reverse resolves to centos.at.multacom.com. multacom is a CentOS Sponsor according to: https://www.centos.org/sponsors/
An outdated config somewhere?
On 10/20/2015 01:28 PM, Jonathan Billings wrote:
On Tue, Oct 20, 2015 at 12:29:06PM -0500, Johnny Hughes wrote:
Those 3 addresses are good, the 204.15.73.243 is incorrect.
204.15.73.243 reverse resolves to centos.at.multacom.com. multacom is a CentOS Sponsor according to: https://www.centos.org/sponsors/
An outdated config somewhere?
I don't think so on our end, but that was at one time a good address.
Maybe the site in question has a static address added in a hosts file, etc.
Hello Johnny,
That appears to be it, our network DNS resolvers were caching an old record from the looks of it.
I've cleared the cache, and everything is now working perfectly.
Thank you (all) for the help, I wasn't even aware that the 204.15.73.243 address was no longer valid.
On 21 October 2015 at 05:35, Johnny Hughes johnny@centos.org wrote:
On 10/20/2015 01:28 PM, Jonathan Billings wrote:
On Tue, Oct 20, 2015 at 12:29:06PM -0500, Johnny Hughes wrote:
Those 3 addresses are good, the 204.15.73.243 is incorrect.
204.15.73.243 reverse resolves to centos.at.multacom.com. multacom is a CentOS Sponsor according to: https://www.centos.org/sponsors/
An outdated config somewhere?
I don't think so on our end, but that was at one time a good address.
Maybe the site in question has a static address added in a hosts file, etc.
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos