Red Hat Bugzilla – Bug 490554
corrupt SRPM available from mirrors
Last modified: 2009-03-17 06:47:21 EDT
The developement version of the jabberd v220.127.116.11 SRPM available on mirrors is corrupt:
[minfrin@chandler ~]$ rpmbuild --rebuild jabberd-18.104.22.168-1.fc11.src.rpm
warning: InstallSourcePackage: 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/chandler/minfrin/rpm/SOURCES/jabberd;49bedd3d: cpio: MD5 sum mismatch
error: jabberd-22.214.171.124-1.fc11.src.rpm cannot be installed
This sounds a lot like you are using a version of rpm which is too old, because the SRPM on my mirror works. Which version of RPM are you using?
The version of RPM in use is the one currently shipped with the most recent and up-to-date version of Redhat Enterprise 5:
[minfrin@chandler ~]$ rpm -q -a | grep rpm
I don't see how the version of RPM would cause an MD5 sum mismatch, unless new versions of RPM are broken.
Rawhide RPM changed to use stronger hashes. Old RPM version (like yours) cannot handle it anymore. See https://fedoraproject.org/wiki/Features/StrongerHashes
There are unofficial RPMs available which can help you:
Then this is a Redhat Enterprise bug. To support stronger hashes in Fedora but then not bother in RHEL5 is a serious case of dropping the ball.
(In reply to comment #4)
> Then this is a Redhat Enterprise bug. To support stronger hashes in Fedora but
> then not bother in RHEL5 is a serious case of dropping the ball.
But I cannot help you here. That is something which you can only solve by contacting Red Hat.