Red Hat Bugzilla – Bug 499385
MD5 sum mismatch when unpacking source rpm on RH 5
Last modified: 2011-03-24 23:06:21 EDT
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.
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)
This makes it very inconvenient to download and rebuild fedora rpms on rhel.
see bug #490613