Re: [CentOS] Trouble with 5.2==5.3 upgrade

2009-04-08 Thread Tru Huynh
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 MB05:41
  
 http://centos.mirror.nac.net/5.3/updates/i386/RPMS/kernel-2.6.18-128.1.6.el5.i686.rpm:
  [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.6.el5.i686.rpm:
  [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
-- 
Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xBEFA581B


pgp9uOeZbiRD4.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trouble with 5.2==5.3 upgrade

2009-04-08 Thread fred smith
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 MB05:41  
 
  http://centos.mirror.nac.net/5.3/updates/i386/RPMS/kernel-2.6.18-128.1.6.el5.i686.rpm:
   [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.6.el5.i686.rpm:
   [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...



-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
The Lord detests the way of the wicked 
  but he loves those who pursue righteousness.
- Proverbs 15:9 (niv) -


pgp9xkendV7bm.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trouble with 5.2==5.3 upgrade

2009-04-08 Thread Blake Hudson

 Original Message  
Subject: Re: [CentOS] Trouble with 5.2==5.3 upgrade
From: fred smith fre...@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 MB05:41 
http://centos.mirror.nac.net/5.3/updates/i386/RPMS/kernel-2.6.18-128.1.6.el5.i686.rpm: [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.6.el5.i686.rpm:
 [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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trouble with 5.2==5.3 upgrade

2009-04-08 Thread fred smith
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 fre...@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.i686.rpm:
  [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.6.el5.i686.rpm:
  [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


-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
The Lord detests the way of the wicked 
  but he loves those who pursue righteousness.
- Proverbs 15:9 (niv) -


pgpdNmatt1T5q.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trouble with 5.2==5.3 upgrade

2009-04-08 Thread Les Mikesell
Blake Hudson wrote:
 

 Downloading Packages:
 (1/1): kernel-2.6.18-128. 100% |=|  15 MB05:41 
 
 http://centos.mirror.nac.net/5.3/updates/i386/RPMS/kernel-2.6.18-128.1.6.el5.i686.rpm:
  [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.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trouble with 5.2==5.3 upgrade

2009-04-08 Thread Blake Hudson

 Original Message  
Subject: Re: [CentOS] Trouble with 5.2==5.3 upgrade
From: fred smith fre...@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=19479forum=37

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


Re: [CentOS] Trouble with 5.2==5.3 upgrade

2009-04-08 Thread fred smith
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 fre...@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=19479forum=37

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


-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  For him who is able to keep you from falling and to present you before his 
 glorious presence without fault and with great joy--to the only God our Savior
 be glory, majesty, power and authority, through Jesus Christ our Lord, before
 all ages, now and forevermore! Amen.
- Jude 1:24,25 (niv) -


pgpEla3rYrhNJ.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trouble with 5.2==5.3 upgrade

2009-04-08 Thread Akemi Yagi
On Wed, Apr 8, 2009 at 11:22 AM, fred smith
fre...@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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trouble with 5.2==5.3 upgrade

2009-04-08 Thread Peter Kjellstrom
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


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trouble with 5.2==5.3 upgrade

2009-04-08 Thread fred smith
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.



-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   For the word of God is living and active. Sharper than any double-edged 
   sword, it penetrates even to dividing soul and spirit, joints and marrow; 
  it judges the thoughts and attitudes of the heart.  
 Hebrews 4:12 (niv) --


pgpp0KzBMz8GT.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trouble with 5.2==5.3 upgrade

2009-04-08 Thread fred smith
On Wed, Apr 08, 2009 at 11:48:39AM -0700, Akemi Yagi wrote:
 On Wed, Apr 8, 2009 at 11:22 AM, fred smith
 fre...@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... ;)

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  For him who is able to keep you from falling and to present you before his 
 glorious presence without fault and with great joy--to the only God our Savior
 be glory, majesty, power and authority, through Jesus Christ our Lord, before
 all ages, now and forevermore! Amen.
- Jude 1:24,25 (niv) -


pgpmNivl14ayT.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trouble with 5.2==5.3 upgrade

2009-04-08 Thread Blake Hudson

 Original Message  
Subject: [CentOS] Trouble with 5.2==5.3 upgrade
From: R P Herrold herr...@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 MB05:41
http://centos.mirror.nac.net/5.3/updates/i386/RPMS/kernel-2.6.18-128.1.6.el5.i686.rpm:
 [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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trouble with 5.2==5.3 upgrade

2009-04-08 Thread Blake Hudson

 Original Message  
Subject: Re: [CentOS] Trouble with 5.2==5.3 upgrade
From: Blake Hudson bl...@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 herr...@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 MB05:41
http://centos.mirror.nac.net/5.3/updates/i386/RPMS/kernel-2.6.18-128.1.6.el5.i686.rpm:
 [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.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trouble with 5.2==5.3 upgrade

2009-04-08 Thread Les Mikesell
R P Herrold wrote:
 On Wed, 8 Apr 2009, fred smith wrote:
 
 Downloading Packages:
 (1/1): kernel-2.6.18-128. 100% |=|  15 MB05:41
 http://centos.mirror.nac.net/5.3/updates/i386/RPMS/kernel-2.6.18-128.1.6.el5.i686.rpm:
  [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.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos