Getting MD5 sum mismatch errors unpacking rawhide on FC9

Paul Howarth paul at city-fan.org
Wed Jul 1 21:06:17 UTC 2009


On Wed, 01 Jul 2009 14:01:20 -0700
"Philip A. Prindeville" <philipp_subx at redfish-solutions.com> wrote:

> Dennis Gilmore wrote:
> > On Wednesday 01 July 2009 03:43:31 pm Philip A. Prindeville wrote:
> >   
> >> I have an FC9 (updated) x86_64 install, and I just tried to pull
> >> down proftpd.src from rawhide-source.
> >>
> >> I'm seeing the following:
> >>
> >> [philipp at builder SPECS]$ rpm -vv
> >> -i /tmp/proftpd-1.3.2-2.fc11.src.rpm D:
> >> ============== /tmp/proftpd-1.3.2-2.fc11.src.rpm D: Expected
> >> size:      2471936 = lead(96)+sigs(1284)+pad(4)+data(2470552) D:
> >> Actual size:      2471936 D: opening  db
> >> index       /var/lib/rpm/Packages rdonly mode=0x0 D: locked   db
> >> index       /var/lib/rpm/Packages D: opening  db
> >> index       /var/lib/rpm/Pubkeys rdonly mode=0x0
> >> warning: /tmp/proftpd-1.3.2-2.fc11.src.rpm: Header V3 RSA/SHA256
> >> signature: NOKEY, key ID d22e77f2 D: 	added source package
> >> [0] D: found 1 source and 0 binary packages D: Expected size:
> >> 2471936 = lead(96)+sigs(1284)+pad(4)+data(2470552) D:   Actual
> >> size:      2471936 D: InstallSourcePackage: Header V3 RSA/SHA256
> >> signature: NOKEY, key ID d22e77f2 proftpd-1.3.2-2.fc11
> >> D: ========== Directories not explicitly included in package:
> >> D:          0 /home/philipp/rpmbuild/SOURCES/
> >> D:          1 /home/philipp/rpmbuild/SPECS/
> >> D: ==========
> >> warning: user mockbuild does not exist - using root
> >> warning: group mockbuild does not exist - using root
> >> D: undo      100664  1 (   0,   0)   2457498
> >> /home/philipp/rpmbuild/SOURCES/proftpd-1.3.2.tar.bz2;4a4bc949
> >> GZDIO: 301 reads,  2465792 total bytes in 0.008182 secs
> >> error: unpacking of archive failed on file
> >> /home/philipp/rpmbuild/SOURCES/proftpd-1.3.2.tar.bz2;4a4bc949:
> >> cpio: MD5 sum mismatch D: closed   db
> >> index       /var/lib/rpm/Pubkeys D: closed   db
> >> index       /var/lib/rpm/Packages D: May free Score board((nil))
> >> [philipp at builder SPECS]$
> >>
> >>
> >> What am I missing here?
> >>     
> > rpm in F-11 and newer uses a sha256sum and mot md5sum  the rpm is 
> > incompatible.  you would need to get the rpm from F-10 updates to
> > install it 
> >
> >
> > Dennis
> >   
> 
> Grrr... that would cause all sorts of other things to be brought in.
> 
> I just need to rebuild certain Rawhide or FC11 packages for FC9.  Is
> there an easy way to do this using mock?

Easiest way is probably to check out the desired packages from CVS, do
"make srpm" and then rebuild that.

proftpd will be updated to 1.3.2a in a day or two by the way.

Paul.

> 
> -Philip
> 




More information about the fedora-devel-list mailing list