[CentOS] Broken repo / mirrors?

Fri May 28 21:28:52 UTC 2010
Robert Heller <heller at deepsoft.com>

At Fri, 28 May 2010 16:10:31 -0400 CentOS mailing list <centos at centos.org> wrote:

> 
> 
> > -----Original Message-----
> > From: centos-bounces at centos.org 
> > [mailto:centos-bounces at centos.org] On Behalf Of David
> > Sent: Friday, May 28, 2010 3:33 PM
> > To: CentOS mailing list
> > Subject: Re: [CentOS] Broken repo / mirrors?
> > 
> > You can try "yum clean all && yum makecache"
> 
> 
> That wouldn't do me any good since I got it correctly installed by the
> two-liner I posted.
> Does this  "yum clean all && yum makecache" help anybody else?
> I understand the problem is that the pushed metadata doesn't match the
> pushed rpm's; cleaning out and re-loading the mismatched metadata
> wouldn't be a help here.  Confirm please anybody?

This is correct.  'yum clean all' does NOT cure the problem with the two
packages that "don't match the expected download".  And this includes
going after the metadata on the master server (mirror.centos.org).  It
appears that the *i386* (NOT the x86_64) metadata has a problem -- all
the mirror sites are doing is mirroring the problem -- this is NOT a lag
issue at all.  The only work around is to *manually* download the RPMs
(eg with wget) and then doing a yum localinstall of these packages. 
This has to be done before it is possible to complete the yum update (or
you can exclude the 'broken' packages, do a yum --skip-broken update and
then download the 'broken' RPMs, do a yum localinstall, and then a yum
update to catch anything else (packages skipped because of the broken
packages.  One might as well just manually download stuff and manually
use 'rpm -hUv --test *.rpm' until it stops complaining.  Yech.  Yum is
*supposed* to get us out of that game...

> 
> > 
> > --
> > Best regards,
> > David
> > http://blog.pnyet.web.id
> > 
> > 
> > On 05/29/2010 12:56 AM, Brunner, Brian T. wrote:
> > >    
> > >> If the affected packages are manually fetched with wget using the 
> > >> same URL that yum reported as broken, all the signatures 
> > check OK and 
> > >> "yum localinstall" upgrades the packages without complaint.
> > >>      
> > > wget
> > > 
> > http://mirror.nexcess.net/CentOS/5.5/updates/i386/RPMS/device-mapper-1
> > > .0
> > > 2.39-1.el5_5.2.i386.rpm
> > > yum localinstall ./device-mapper-1.02.39-1.el5_5.2.i386.rpm
> > >
> > > This pulls down needed dependencies and the The Magic Happens.
> > >
> > > Thanks, Bob!
> *******************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom
> they are addressed. If you have received this email in error please
> notify the system manager. This footnote also confirms that this
> email message has been swept for the presence of computer viruses.
> www.Hubbell.com - Hubbell Incorporated**
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>                      

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller at deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/