I've updated two 5.2 systems without a hitch. But this third one is giving me some grief. See errors below.
Googling for "Package does not match intended download" turns up a bunch of hits, but none of them (that I've seen) offers any working solution.
Can someone suggest how to overcome the following error(s)
Thanks a bunch!
Downloading Packages: (1/1): kernel-2.6.18-128. 100% |=========================| 15 MB 05:41 http://centos.mirror.nac.net/5.3/updates/i386/RPMS/kernel-2.6.18-128.1.6.el5...: [Errno -1] Package does not match intended download Trying other mirror. http://ftp.lug.udel.edu/pub/centos/5.3/updates/i386/RPMS/kernel-2.6.18-128.1...: [Errno 9] Requested Range Not Satisfiable Trying other mirror. http://mirrors.rit.edu/centos/5.3/updates/i386/RPMS/kernel-2.6.18-128.1.6.el...: [Errno 9] Requested Range Not Satisfiable Trying other mirror. http://mirror.newnanutilities.org/pub/centos/5.3/updates/i386/RPMS/kernel-2....: [Errno 9] Requested Range Not Satisfiable Trying other mirror. http://mirrors.usc.edu/pub/linux/distributions/centos/5.3/updates/i386/RPMS/...: [Errno 9] Requested Range Not Satisfiable Trying other mirror. http://mirror.stanford.edu/yum/pub/centos/5.3/updates/i386/RPMS/kernel-2.6.1...: [Errno 9] Requested Range Not Satisfiable Trying other mirror.
Error Downloading Packages: kernel - 2.6.18-128.1.6.el5.i686: failure: RPMS/kernel-2.6.18-128.1.6.el5.i686.rpm from updates: [Errno 256] No more mirrors to try.
I've tried several times, one of the retries I re-did "yum clean all" to see if I had bad metadata, and it re-downloaded ALL 250 packages again but still encountered the same error. I tried again using "yum clean metadata" and that didn't help either.
Advice appreciated.
On Wed, Apr 08, 2009 at 11:52:27AM -0400, fred smith wrote:
I've updated two 5.2 systems without a hitch. But this third one is giving me some grief. See errors below.
Googling for "Package does not match intended download" turns up a bunch of hits, but none of them (that I've seen) offers any working solution.
Can someone suggest how to overcome the following error(s)
Thanks a bunch!
Downloading Packages: (1/1): kernel-2.6.18-128. 100% |=========================| 15 MB 05:41 http://centos.mirror.nac.net/5.3/updates/i386/RPMS/kernel-2.6.18-128.1.6.el5...: [Errno -1] Package does not match intended download Trying other mirror.
http://mirror-status.centos.org/ is listing http://centos.mirror.nac.net/ as 2 days late, so you might have been hitting an incomplete mirror.
http://ftp.lug.udel.edu/pub/centos/5.3/updates/i386/RPMS/kernel-2.6.18-128.1...: [Errno 9] Requested Range Not Satisfiable
You probably have a (transparent?) proxy server on the way. "Requested Range Not Satisfiable" for all the others since the remaining public centos mirrors are listed as 'current'
Tru
On Wed, Apr 08, 2009 at 06:10:08PM +0200, Tru Huynh wrote: Thanks for the quick reply!
On Wed, Apr 08, 2009 at 11:52:27AM -0400, fred smith wrote:
I've updated two 5.2 systems without a hitch. But this third one is giving me some grief. See errors below.
Googling for "Package does not match intended download" turns up a bunch of hits, but none of them (that I've seen) offers any working solution.
Can someone suggest how to overcome the following error(s)
Thanks a bunch!
Downloading Packages: (1/1): kernel-2.6.18-128. 100% |=========================| 15 MB 05:41 http://centos.mirror.nac.net/5.3/updates/i386/RPMS/kernel-2.6.18-128.1.6.el5...: [Errno -1] Package does not match intended download Trying other mirror.
http://mirror-status.centos.org/ is listing http://centos.mirror.nac.net/ as 2 days late, so you might have been hitting an incomplete mirror.
Wouldn't surprise me. But I've tried this probably 10 times in the last 2-3 hours, would I always be that unlucky?
And if so, how would I avoid that mirror?
http://ftp.lug.udel.edu/pub/centos/5.3/updates/i386/RPMS/kernel-2.6.18-128.1...: [Errno 9] Requested Range Not Satisfiable
You probably have a (transparent?) proxy server on the way. "Requested Range Not Satisfiable" for all the others since the remaining public centos mirrors are listed as 'current'
No proxies here. possibly someone "upstream" from here has one...
-------- Original Message -------- Subject: Re: [CentOS] Trouble with 5.2==>5.3 upgrade From: fred smith fredex@fcshome.stoneham.ma.us To: CentOS mailing list centos@centos.org Date: Wednesday, April 08, 2009 11:37:57 AM
On Wed, Apr 08, 2009 at 06:10:08PM +0200, Tru Huynh wrote: Thanks for the quick reply!
On Wed, Apr 08, 2009 at 11:52:27AM -0400, fred smith wrote:
I've updated two 5.2 systems without a hitch. But this third one is giving me some grief. See errors below.
Googling for "Package does not match intended download" turns up a bunch of hits, but none of them (that I've seen) offers any working solution.
Can someone suggest how to overcome the following error(s)
Thanks a bunch!
Downloading Packages: (1/1): kernel-2.6.18-128. 100% |=========================| 15 MB 05:41 http://centos.mirror.nac.net/5.3/updates/i386/RPMS/kernel-2.6.18-128.1.6.el5...: [Errno -1] Package does not match intended download Trying other mirror.
http://mirror-status.centos.org/ is listing http://centos.mirror.nac.net/ as 2 days late, so you might have been hitting an incomplete mirror.
Wouldn't surprise me. But I've tried this probably 10 times in the last 2-3 hours, would I always be that unlucky?
And if so, how would I avoid that mirror?
http://ftp.lug.udel.edu/pub/centos/5.3/updates/i386/RPMS/kernel-2.6.18-128.1...: [Errno 9] Requested Range Not Satisfiable
You probably have a (transparent?) proxy server on the way. "Requested Range Not Satisfiable" for all the others since the remaining public centos mirrors are listed as 'current'
No proxies here. possibly someone "upstream" from here has one...
There's already a thread on this issue - "Update from 5.2 to 5.3 kernel not on mirror"
I worked around the issue by updating the kernel through RPM vs yum, then performing the yum upgrade.
The issue is not a proxy (as we do not have one installed, nor one upstream) - and, as you mentioned (and was the case with me), the upgrade worked fine on several boxes on the same network. The problem appears to be with the CentOS repos, affecting anyone on CentOS 5.2 with an older kernel trying to upgrade directly to 5.3 (as far as I can tell).
--Blake
On Wed, Apr 08, 2009 at 11:47:12AM -0500, Blake Hudson wrote:
-------- Original Message -------- Subject: Re: [CentOS] Trouble with 5.2==>5.3 upgrade From: fred smith fredex@fcshome.stoneham.ma.us To: CentOS mailing list centos@centos.org Date: Wednesday, April 08, 2009 11:37:57 AM
On Wed, Apr 08, 2009 at 06:10:08PM +0200, Tru Huynh wrote: Thanks for the quick reply!
On Wed, Apr 08, 2009 at 11:52:27AM -0400, fred smith wrote:
I've updated two 5.2 systems without a hitch. But this third one is giving me some grief. See errors below.
Googling for "Package does not match intended download" turns up a bunch of hits, but none of them (that I've seen) offers any working solution.
Can someone suggest how to overcome the following error(s)
Thanks a bunch!
Downloading Packages: (1/1): kernel-2.6.18-128. 100% |=========================| 15 MB 05:41 http://centos.mirror.nac.net/5.3/updates/i386/RPMS/kernel-2.6.18-128.1.6.el5...: [Errno -1] Package does not match intended download Trying other mirror.
http://mirror-status.centos.org/ is listing http://centos.mirror.nac.net/ as 2 days late, so you might have been hitting an incomplete mirror.
Wouldn't surprise me. But I've tried this probably 10 times in the last 2-3 hours, would I always be that unlucky?
And if so, how would I avoid that mirror?
http://ftp.lug.udel.edu/pub/centos/5.3/updates/i386/RPMS/kernel-2.6.18-128.1...: [Errno 9] Requested Range Not Satisfiable
You probably have a (transparent?) proxy server on the way. "Requested Range Not Satisfiable" for all the others since the remaining public centos mirrors are listed as 'current'
No proxies here. possibly someone "upstream" from here has one...
There's already a thread on this issue - "Update from 5.2 to 5.3 kernel not on mirror"
but since the file appears to download fine, it wouldn't be a case of "not on mirror", would it?
I worked around the issue by updating the kernel through RPM vs yum, then performing the yum upgrade.
The issue is not a proxy (as we do not have one installed, nor one upstream) - and, as you mentioned (and was the case with me), the upgrade worked fine on several boxes on the same network. The problem appears to be with the CentOS repos, affecting anyone on CentOS 5.2 with an older kernel trying to upgrade directly to 5.3 (as far as I can tell).
--Blake
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-------- Original Message -------- Subject: Re: [CentOS] Trouble with 5.2==>5.3 upgrade From: fred smith fredex@fcshome.stoneham.ma.us To: CentOS mailing list centos@centos.org Date: Wednesday, April 08, 2009 11:58:28 AM
but since the file appears to download fine, it wouldn't be a case of "not on mirror", would it?
I worked around the issue by updating the kernel through RPM vs yum, then performing the yum upgrade.
The issue is not a proxy (as we do not have one installed, nor one upstream) - and, as you mentioned (and was the case with me), the upgrade worked fine on several boxes on the same network. The problem appears to be with the CentOS repos, affecting anyone on CentOS 5.2 with an older kernel trying to upgrade directly to 5.3 (as far as I can tell).
--Blake
Well, while it is on the mirror - Yum will not download/install it. I was able to download fine via wget and install via rpm. I believe the yum error "Package does not match intended download" is likely a better indicator of the problem and the following "Requested Range Not Satisfiable" errors are a byproduct - perhaps an error in yum or a library it uses.
I just found a thread entitled "Update fails with "Package does not match intended download"" on the Centos PHPbb forums and it has a fix (have not tried myself). The fix is to disable the fastestmirror plugin by editing the /etc/yum/pluginconf.d/fastestmirror.conf http://www.centos.org/modules/newbb/viewtopic.php?topic_id=19479&forum=3...
I also found reference to the same error and problem during the CentOS5 -> 5.1 release. I'm not sure what the fastest mirror plugin is doing (perhaps caching old data?), but it does not seem that it is being tested thoroughly by Q/A during these respins.
Perhaps this clue will help others...
--Blake
On Wed, Apr 08, 2009 at 12:19:42PM -0500, Blake Hudson wrote:
-------- Original Message -------- Subject: Re: [CentOS] Trouble with 5.2==>5.3 upgrade From: fred smith fredex@fcshome.stoneham.ma.us To: CentOS mailing list centos@centos.org Date: Wednesday, April 08, 2009 11:58:28 AM
but since the file appears to download fine, it wouldn't be a case of "not on mirror", would it?
I worked around the issue by updating the kernel through RPM vs yum, then performing the yum upgrade.
The issue is not a proxy (as we do not have one installed, nor one upstream) - and, as you mentioned (and was the case with me), the upgrade worked fine on several boxes on the same network. The problem appears to be with the CentOS repos, affecting anyone on CentOS 5.2 with an older kernel trying to upgrade directly to 5.3 (as far as I can tell).
--Blake
Well, while it is on the mirror - Yum will not download/install it. I was able to download fine via wget and install via rpm. I believe the yum error "Package does not match intended download" is likely a better indicator of the problem and the following "Requested Range Not Satisfiable" errors are a byproduct - perhaps an error in yum or a library it uses.
I just found a thread entitled "Update fails with "Package does not match intended download"" on the Centos PHPbb forums and it has a fix (have not tried myself). The fix is to disable the fastestmirror plugin by editing the /etc/yum/pluginconf.d/fastestmirror.conf http://www.centos.org/modules/newbb/viewtopic.php?topic_id=19479&forum=3...
I actually tried "yum --disableplugin=fastestmirror" and it did not make any difference.
Since the error says "did not match intended download" I'm guessing that some of the metadata contains the sha1sum (or similar) and the downloaded file had the wrong sum. I'm further guessing that it may be an error in the metadata (if that's where it's store, I don't really know).
I finally, as someone else suggested, downloaded the desired kernel file from one of the mirrors, did "rpm -uvh" on it followed by "yum -y update" and it all applied without complaint.
I also found reference to the same error and problem during the CentOS5 -> 5.1 release. I'm not sure what the fastest mirror plugin is doing (perhaps caching old data?), but it does not seem that it is being tested thoroughly by Q/A during these respins.
Perhaps this clue will help others...
--Blake
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Wed, Apr 8, 2009 at 11:22 AM, fred smith fredex@fcshome.stoneham.ma.us wrote:
I finally, as someone else suggested, downloaded the desired kernel file from one of the mirrors, did "rpm -uvh" on it followed by "yum -y update" and it all applied without complaint.
Please do NOT install the kernel with the -Uvh option. This will update (overwrite) the currently installed version. Always use -ivh.
Akemi
On Wed, Apr 08, 2009 at 11:48:39AM -0700, Akemi Yagi wrote:
On Wed, Apr 8, 2009 at 11:22 AM, fred smith fredex@fcshome.stoneham.ma.us wrote:
I finally, as someone else suggested, downloaded the desired kernel file from one of the mirrors, did "rpm -uvh" on it followed by "yum -y update" and it all applied without complaint.
Please do NOT install the kernel with the -Uvh option. This will update (overwrite) the currently installed version. Always use -ivh.
Oops. Of course, you're right. (I knew that... ;)
On Wednesday 08 April 2009, fred smith wrote: ...
Since the error says "did not match intended download" I'm guessing that some of the metadata contains the sha1sum (or similar) and the downloaded file had the wrong sum. I'm further guessing that it may be an error in the metadata (if that's where it's store, I don't really know).
did you try "yum clean all" before continuing with your manual download solution?
/Peter
On Wed, Apr 08, 2009 at 09:20:56PM +0200, Peter Kjellstrom wrote:
On Wednesday 08 April 2009, fred smith wrote: ...
Since the error says "did not match intended download" I'm guessing that some of the metadata contains the sha1sum (or similar) and the downloaded file had the wrong sum. I'm further guessing that it may be an error in the metadata (if that's where it's store, I don't really know).
did you try "yum clean all" before continuing with your manual download solution?
yes. several times. No go.
Blake Hudson wrote:
Downloading Packages: (1/1): kernel-2.6.18-128. 100% |=========================| 15 MB 05:41 http://centos.mirror.nac.net/5.3/updates/i386/RPMS/kernel-2.6.18-128.1.6.el5...: [Errno -1] Package does not match intended download Trying other mirror.
Do the mirrors sync in a way that lets the filename become visible before the sync is actually complete?
I worked around the issue by updating the kernel through RPM vs yum, then performing the yum upgrade.
The issue is not a proxy (as we do not have one installed, nor one upstream) - and, as you mentioned (and was the case with me), the upgrade worked fine on several boxes on the same network. The problem appears to be with the CentOS repos, affecting anyone on CentOS 5.2 with an older kernel trying to upgrade directly to 5.3 (as far as I can tell).
I've had mixed results, even from boxes on the same network, behind the same proxy. Perhaps coincidentally all x86_64 versions 'just worked' with only the 'yum update glibc*' done first. The 32-bit versions mostly had some missing packages that I had to exclude to get the first update to run, then after a 'yum clean all' and a few retries they would find the rest. Apparently the clean is necessary to make a box change its mind about a previously determined fastest-mirror - but I thought it was supposed to still check others for missing packages.
On Wed, 8 Apr 2009, fred smith wrote:
Downloading Packages: (1/1): kernel-2.6.18-128. 100% |=========================| 15 MB 05:41 http://centos.mirror.nac.net/5.3/updates/i386/RPMS/kernel-2.6.18-128.1.6.el5...: [Errno -1] Package does not match intended download Trying other mirror.
http://mirror-status.centos.org/ is listing http://centos.mirror.nac.net/ as 2 days late, so you might have been hitting an incomplete mirror.
Wouldn't surprise me. But I've tried this probably 10 times in the last 2-3 hours, would I always be that unlucky?
And if so, how would I avoid that mirror?
This issue was just raised in the main IRC channel as well. By temporarily adding a line to /etc/hosts on the machine seeking to pull updates, of the follow form, it will fail on over to the next suggested entry:
127.0.0.2 centos.mirror.nac.net
Remember to pull it out again in a few days.
-- Russ herrold
-------- Original Message -------- Subject: [CentOS] Trouble with 5.2==>5.3 upgrade From: R P Herrold herrold@centos.org To: CentOS mailing list centos@centos.org Date: Wednesday, April 08, 2009 3:58:09 PM
On Wed, 8 Apr 2009, fred smith wrote:
Downloading Packages: (1/1): kernel-2.6.18-128. 100% |=========================| 15 MB 05:41 http://centos.mirror.nac.net/5.3/updates/i386/RPMS/kernel-2.6.18-128.1.6.el5...: [Errno -1] Package does not match intended download Trying other mirror.
http://mirror-status.centos.org/ is listing http://centos.mirror.nac.net/ as 2 days late, so you might have been hitting an incomplete mirror.
Wouldn't surprise me. But I've tried this probably 10 times in the last 2-3 hours, would I always be that unlucky?
And if so, how would I avoid that mirror?
This issue was just raised in the main IRC channel as well. By temporarily adding a line to /etc/hosts on the machine seeking to pull updates, of the follow form, it will fail on over to the next suggested entry:
127.0.0.2 centos.mirror.nac.net
Remember to pull it out again in a few days.
-- Russ herrold
Yes, unfortunately the mechanism within yum to try another mirror automatically seems to be broken in this instance. Perhaps someone with more knowledge about yum can take a look?
-Blake
-------- Original Message -------- Subject: Re: [CentOS] Trouble with 5.2==>5.3 upgrade From: Blake Hudson blake@ispn.net To: CentOS mailing list centos@centos.org Date: Wednesday, April 08, 2009 4:12:25 PM
-------- Original Message -------- Subject: [CentOS] Trouble with 5.2==>5.3 upgrade From: R P Herrold herrold@centos.org To: CentOS mailing list centos@centos.org Date: Wednesday, April 08, 2009 3:58:09 PM
On Wed, 8 Apr 2009, fred smith wrote:
Downloading Packages: (1/1): kernel-2.6.18-128. 100% |=========================| 15 MB 05:41 http://centos.mirror.nac.net/5.3/updates/i386/RPMS/kernel-2.6.18-128.1.6.el5...: [Errno -1] Package does not match intended download Trying other mirror.
http://mirror-status.centos.org/ is listing http://centos.mirror.nac.net/ as 2 days late, so you might have been hitting an incomplete mirror.
Wouldn't surprise me. But I've tried this probably 10 times in the last 2-3 hours, would I always be that unlucky?
And if so, how would I avoid that mirror?
This issue was just raised in the main IRC channel as well. By temporarily adding a line to /etc/hosts on the machine seeking to pull updates, of the follow form, it will fail on over to the next suggested entry:
127.0.0.2 centos.mirror.nac.net
Remember to pull it out again in a few days.
-- Russ herrold
Yes, unfortunately the mechanism within yum to try another mirror automatically seems to be broken in this instance. Perhaps someone with more knowledge about yum can take a look?
-Blake
Any reason these bad mirrors are not pulled out of the rotation? I had no idea that a single old mirror would stop yum in its tracks.
On Wed, 8 Apr 2009, Blake Hudson wrote:
Any reason these bad mirrors are not pulled out of the rotation? I had no idea that a single old mirror would stop yum in its tracks.
They are. The offending mirror was identified as stale by the mirrorlist system, and has aged out at this point ... the timeout which serves well generally may need to be tweaked around release time, but then too much load falls on too few when people start 'jumping the gun' seeking to get the 'latest and greatest' with manual tuneing.
'Latest and Greatest' gotta-havit-ism is a disease, of course, but one so afflicted cannot be swayed by reason and advice to take a deep breath and wait a couple days. CentOSian's are not immune
-- Russ herrold
R P Herrold wrote:
On Wed, 8 Apr 2009, fred smith wrote:
Downloading Packages: (1/1): kernel-2.6.18-128. 100% |=========================| 15 MB 05:41 http://centos.mirror.nac.net/5.3/updates/i386/RPMS/kernel-2.6.18-128.1.6.el5...: [Errno -1] Package does not match intended download Trying other mirror.
http://mirror-status.centos.org/ is listing http://centos.mirror.nac.net/ as 2 days late, so you might have been hitting an incomplete mirror.
Wouldn't surprise me. But I've tried this probably 10 times in the last 2-3 hours, would I always be that unlucky?
And if so, how would I avoid that mirror?
This issue was just raised in the main IRC channel as well. By temporarily adding a line to /etc/hosts on the machine seeking to pull updates, of the follow form, it will fail on over to the next suggested entry:
127.0.0.2 centos.mirror.nac.net
Remember to pull it out again in a few days.
But note that if you are using a proxy, the proxy is where the name lookup is done.