Bug 499385

Summary: MD5 sum mismatch when unpacking source rpm on RH 5
Product: [Fedora] Fedora Reporter: Peter Hopfgartner <peter.hopfgartner>
Component: gdalAssignee: Balint Cristian <cristian.balint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: cristian.balint, lindahl, pertusus, sergio
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-06 16:45:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Hopfgartner 2009-05-06 13:39:19 UTC
I've downloaded the source package gdal-1.6.0-8.fc11.src.rpm from a number of mirrors.

When I try to install it on a red Hat 5.3, x86_64,  server (and the same happens on CentOS 5.3) I get the following message:

[rpmbuild@plantmap ~]$ rpm -i gdal-1.6.0-8.fc11.src.rpm
warning: gdal-1.6.0-8.fc11.src.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID d22e77f2
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
error: unpacking of archive failed on file /home/rpmbuild/rpmbuild/SOURCES/gdal-1.6.0-fedora.tar.gz;4a0190fb: cpio: MD5 sum mismatch

The package will will not be installed, except when --nomd5 is given.

Comment 1 Jeremy Katz 2009-05-06 16:45:22 UTC
Fedora 11 is switching to sha256 checksums instead of md5.  RHEL5's rpm does not understand these and thus can't unpack Fedora 11 packages.  You can, though, use rpm2cpio if you want (rpm2cpio foo.rpm |cpio -id)

Comment 2 lindahl 2010-02-05 19:24:54 UTC
This makes it very inconvenient to download and rebuild fedora rpms on rhel.

Comment 3 Sergio Basto 2011-03-25 03:06:21 UTC
see bug #490613