Bug 499385 - MD5 sum mismatch when unpacking source rpm on RH 5
Summary: MD5 sum mismatch when unpacking source rpm on RH 5
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gdal
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Balint Cristian
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-06 13:39 UTC by Peter Hopfgartner
Modified: 2011-03-25 03:06 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-06 16:45:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.