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

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Thu Aug 2 20:15:03 2007


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.
> 
> 
> 
> 
> [root@venice ~]# wget -c
> http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetcore/7/i386/kernel-rt-2.6.21-0182.rt21.2.fc7.ccrma.i686.rpm
> http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetcore/7/i386/alsa-firmware-1.0.13-1.fc7.ccrma.i386.rpm
> --15:28:21-- 
> http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetcore/7/i386/kernel-rt-2.6.21-0182.rt21.2.fc7.ccrma.i686.rpm
>            => `kernel-rt-2.6.21-0182.rt21.2.fc7.ccrma.i686.rpm'
> Resolving ccrma.stanford.edu... 171.64.197.141
> Connecting to ccrma.stanford.edu|171.64.197.141|:80... connected.
> HTTP request sent, awaiting response... 416 Requested Range Not
> Satisfiable
> 
>     The file is already fully retrieved; nothing to do.
> 
> --15:28:21-- 
> http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetcore/7/i386/alsa-firmware-1.0.13-1.fc7.ccrma.i386.rpm
>            => `alsa-firmware-1.0.13-1.fc7.ccrma.i386.rpm'
> Connecting to ccrma.stanford.edu|171.64.197.141|:80... connected.
> HTTP request sent, awaiting response... 416 Requested Range Not
> Satisfiable
> 
>     The file is already fully retrieved; nothing to do.
> 
> 
> FINISHED --15:28:22--
> Downloaded: 0 bytes in 0 files
> 
> 
> 
> [root@venice ~]# ls *.rpm
> alsa-firmware-1.0.13-1.fc7.ccrma.i386.rpm 
> kernel-rt-2.6.21-0182.rt21.2.fc7.ccrma.i686.rpm
> 
> 
> 
> [root@venice ~]# yum localinstall *.rpm
> Setting up Local Package Process
> Examining alsa-firmware-1.0.13-1.fc7.ccrma.i386.rpm: alsa-firmware -
> 1.0.13-1.fc7.ccrma.i386
> Examining kernel-rt-2.6.21-0182.rt21.2.fc7.ccrma.i686.rpm: kernel-rt -
> 2.6.21-0182.rt21.2.fc7.ccrma.i686
> Marking alsa-firmware-1.0.13-1.fc7.ccrma.i386.rpm to be installed
> Marking kernel-rt-2.6.21-0182.rt21.2.fc7.ccrma.i686.rpm to be installed
> Resolving Dependencies
> --> Running transaction check
> ---> Package kernel-rt.i686 0:2.6.21-0182.rt21.2.fc7.ccrma set to be
> updated
> ---> Package alsa-firmware.i386 0:1.0.13-1.fc7.ccrma set to be updated
> 
> Dependencies Resolved
> 
> =============================================================================
>  Package                 Arch       Version          Repository       
>  Size 
> =============================================================================
> Installing:
>  alsa-firmware           i386       1.0.13-1.fc7.ccrma 
>  alsa-firmware-1.0.13-1.fc7.ccrma.i386.rpm  8.9 M
>  kernel-rt               i686       2.6.21-0182.rt21.2.fc7.ccrma 
>  kernel-rt-2.6.21-0182.rt21.2.fc7.ccrma.i686.rpm   47 M
> 
> Transaction Summary
> =============================================================================
> Install      2 Package(s)         
> Update       0 Package(s)         
> Remove       0 Package(s)         
> 
> Total download size: 56 M
> Is this ok [y/N]: y
> Downloading Packages:
> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
>   Installing: alsa-firmware                #########################
>   [1/2] 
> error: unpacking of archive failed on file
> /lib/firmware/mixart/miXart8.elf;46b0ed00: cpio: MD5 sum mismatch
>   Installing: kernel-rt                    #########################
>   [2/2] 
> error: unpacking of archive failed on file
> /lib/modules/2.6.21-0182.rt21.2.fc7.ccrmart/kernel/drivers/net/via-rhine.ko;46b0ed00:
> cpio: MD5 sum mismatch
> 
> Installed: alsa-firmware.i386 0:1.0.13-1.fc7.ccrma kernel-rt.i686
> 0:2.6.21-0182.rt21.2.fc7.ccrma
> Complete!
> 
> 
> 
> 
> [root@venice ~]# rpm -ivh *.rpm
> Preparing...                ###########################################
> [100%]
>    1:kernel-rt              ###########################################
>    [ 50%]
> error: unpacking of archive failed on file
> /lib/modules/2.6.21-0182.rt21.2.fc7.ccrmart/kernel/drivers/net/via-rhine.ko;46b0ed0c:
> cpio: MD5 sum mismatch
>    2:alsa-firmware          ###########################################
>    [100%]
> error: unpacking of archive failed on file
> /lib/firmware/mixart/miXart8.elf;46b0ed0c: cpio: MD5 sum mismatch
> 
> 
> 
> 
> ----------------------
> Wade Nelson
> hollywoodb@fastmail.fm
> 
> _______________________________________________
> PlanetCCRMA mailing list
> PlanetCCRMA@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma