[PlanetCCRMA] Package does not match intended download (planetccrma-core on F7)

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Fri Aug 3 09:58:26 2007


On Fri, 2007-08-03 at 01:32 -0500, Wade Nelson wrote:
> The thing that strikes me as odd is that I can consistently fail those
> two packages with the exact same MD5 sum bail-out.  I live in a rural
> area and happen to know my ISP very well, and there is no caching
> involved.  In fact, the error posted has been consistent now for about
> 10 days, and just now I posted to the ML since between myself and my ISP
> I had determined that nothing on our end should be acting up.  In the
> example posted I ran a `wget` on the packages (which reported they were
> already downloaded, because they were) and got the *exact* same cpio MD5
> bail-out.  I've subsequently rm'd the RPMs and `wget`'d them again with
> the exact same MD5 bail-out.  It just strikes me as very very odd.

Very strange that you are getting the _same_ md5 problem! That is really
weird. I don't know how to debug this. If I do a wget locally (I have to
try this from home as well) I get a correct download and can install the
exact same kernel. 

Hmmmm, I do have a machine that sometimes will do something similar. I
think it is some kind of sporadic motherboard problem related perhaps to
the network interface - when yum-installing a very large package
(~530Mbytes) I would sometimes get a cpio error when yum tries to
install it. _Copying_ it manually from an nfs mount and then using rpm
would succeed. Very strange. Maybe related to the problem you are
having? (I know, I know, very very unlikely that hardware is the
problem...). 

Do you have another machine you could use to download the package?

-- Fernando


> On Thu, 02 Aug 2007 20:14:50 -0700, "Fernando Lopez-Lezcano"
> <nando@ccrma.Stanford.EDU> said:
> > On Wed, 2007-08-01 at 15:31 -0500, Wade Nelson wrote:
> > > I'm encountering an error getting a couple CCRMA packages installed,
> > > this has been consistent behaviour even after `yum clean all` and also
> > > redownloading the two offending packages manually.  I can reproduce the
> > > errors below over and over again despite my best efforts to the
> > > contrary:
> > 
> > There's been a few reports over the years of things like this happening
> > (and one a couple of days ago), I have never been able to pinpoint
> > _exactly_ why this is happening. Md5 checksums that don't match when you
> > try to install a package point to a corrupted download. You could try to
> > md5sum successive attempts at downloading and see if they all match (but
> > are wrong), or if they are all different. If they all match it could be
> > that the file is being cached in a proxy server through which you are
> > (maybe unknowingly) accessing the internet, and it is corrupted there.
> > If they don't match most probably the file is being corrupted during the
> > transfer. I don't know how to know _where_ it is happening. 
> > 
> > The packages seem to be fine locally:
> > 
> >   rpm -K alsa-firmware-1.0.13-1.fc7.ccrma.i386.rpm
> >   alsa-firmware-1.0.13-1.fc7.ccrma.i386.rpm: (sha1) dsa sha1 md5 gpg OK
> > 
> > (and I just did a Planet CCRMA f7 install in a laptop yesterday without
> > hitting problems)
> > 
> > Sorry to not have better news...
> > -- Fernando
> > 
> > 
> > > [root@venice ~]# yum -y install planetccrma-core
> > > Setting up Install Process
> > > Parsing package install arguments
> > > Resolving Dependencies
> > > --> Running transaction check
> > > ---> Package planetccrma-core.i686 0:2007.07.17-1.fc7.ccrma set to be
> > > updated
> > > --> Processing Dependency: alsa-firmware >= 1.0.13-1.fc7.ccrma for
> > > package: planetccrma-core
> > > --> Processing Dependency: rtirq >= 20070101 for package:
> > > planetccrma-core
> > > --> Processing Dependency: kernel-i686 = 2.6.21-0182.rt21.2.fc7.ccrmart
> > > for package: planetccrma-core
> > > --> Processing Dependency: pam >= 0.99.7.1-5.1.1 for package:
> > > planetccrma-core
> > > --> Processing Dependency: alsa-oss >= 1.0.12-4.fc7 for package:
> > > planetccrma-core
> > > --> Restarting Dependency Resolution with new changes.
> > > --> Running transaction check
> > > ---> Package rtirq.i386 0:20070101-1.fc7.ccrma set to be updated
> > > ---> Package planetccrma-core.i686 0:2007.07.17-1.fc7.ccrma set to be
> > > updated
> > > ---> Package alsa-firmware.i386 0:1.0.13-1.fc7.ccrma set to be updated
> > > ---> Package alsa-oss.i386 0:1.0.12-4.fc7 set to be updated
> > > filelists.sqlite.bz2      100% |=========================| 6.4 MB   
> > > 01:35     
> > > ---> Package kernel-rt.i686 0:2.6.21-0182.rt21.2.fc7.ccrma set to be
> > > updated
> > > ---> Package pam.i386 0:0.99.7.1-5.1.1.fc7.ccrma set to be updated
> > > --> Processing Dependency: pam = 0.99.7.1-5.1.fc7 for package: pam-devel
> > > --> Processing Dependency: alsa-oss-libs = 1.0.12-4.fc7 for package:
> > > alsa-oss
> > > --> Restarting Dependency Resolution with new changes.
> > > --> Running transaction check
> > > ---> Package alsa-oss.i386 0:1.0.12-4.fc7 set to be updated
> > > ---> Package pam-devel.i386 0:0.99.7.1-5.1.1.fc7.ccrma set to be updated
> > > ---> Package alsa-oss-libs.i386 0:1.0.12-4.fc7 set to be updated
> > > 
> > > Dependencies Resolved
> > > 
> > > =============================================================================
> > >  Package                 Arch       Version          Repository       
> > >  Size 
> > > =============================================================================
> > > Installing:
> > >  planetccrma-core        i686       2007.07.17-1.fc7.ccrma  planetcore  
> > >       4.7 k
> > > Installing for dependencies:
> > >  alsa-firmware           i386       1.0.13-1.fc7.ccrma  planetcore      
> > >   3.5 M
> > >  alsa-oss                i386       1.0.12-4.fc7     fedora            
> > >  11 k
> > >  alsa-oss-libs           i386       1.0.12-4.fc7     fedora            
> > >  29 k
> > >  kernel-rt               i686       2.6.21-0182.rt21.2.fc7.ccrma 
> > >  planetcore         16 M
> > >  rtirq                   i386       20070101-1.fc7.ccrma  planetcore    
> > >     7.6 k
> > > Updating for dependencies:
> > >  pam                     i386       0.99.7.1-5.1.1.fc7.ccrma  planetcore
> > >         1.0 M
> > >  pam-devel               i386       0.99.7.1-5.1.1.fc7.ccrma  planetcore
> > >         187 k
> > > 
> > > Transaction Summary
> > > =============================================================================
> > > Install      6 Package(s)         
> > > Update       2 Package(s)         
> > > Remove       0 Package(s)         
> > > 
> > > Total download size: 21 M
> > > Downloading Packages:
> > > (1/2): kernel-rt-2.6.21-0 100% |=========================|  16 MB   
> > > 05:08     
> > > http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetcore/7/i386/kernel-rt-2.6.21-0182.rt21.2.fc7.ccrma.i686.rpm:
> > > [Errno -1] Package does not match intended download
> > > Trying other mirror.
> > > (2/2): alsa-firmware-1.0. 100% |=========================| 3.5 MB   
> > > 00:59     
> > > http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetcore/7/i386/alsa-firmware-1.0.13-1.fc7.ccrma.i386.rpm:
> > > [Errno -1] Package does not match intended download
> > > Trying other mirror.
> > > 
> > > 
> > > Error Downloading Packages:
> > >   alsa-firmware - 1.0.13-1.fc7.ccrma.i386: failure:
> > >   alsa-firmware-1.0.13-1.fc7.ccrma.i386.rpm from planetcore: [Errno 256]
> > >   No more mirrors to try.
> > >   kernel-rt - 2.6.21-0182.rt21.2.fc7.ccrma.i686: failure:
> > >   kernel-rt-2.6.21-0182.rt21.2.fc7.ccrma.i686.rpm from planetcore:
> > >   [Errno 256] No more mirrors to try.