This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

rpm fails md5 hash when extracting valid .rpm source file

I'm attempting to use the Cygwin rpm package to extract an RPM source
file.  The command works fine on my Red Hat 6.1 server, but the same
command fails under Cygwin with an "MD5 sum mismatch" error.

I've managed to get around this with the `--nomd5` argument to `rpm`,
but when the command works in Red Hat Linux, I'd expect it to work in

The results I'm getting on Cygwin:

    $ rpm -iv iproute-2.6.32-10.el6.src.rpm
    warning: iproute-2.6.32-10.el6.src.rpm: V3 RSA/MD5 signature: NOKEY, key ID fd431d51
    warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root
        {The above two lines repeated many times}
    error: unpacking of archive failed on file /home/add/iproute10/SOURCES/iproute-Makefile-RHEL-setting.patch;4f6c6642: cpio: MD5 sum mismatch

On my RHEL system, I still get the "mockbuild" warnings, but the RSA/MD5
signature warning and MD5 sum mismatch error disappear.  The .rpm file
is identical in both cases, and was downloaded directly from the Red Hat
website, with md5sum 8b7380d9c99116ff1e4ecf6c4d8256b7.

The best Google's been able to find for me was [a mailing list trail
from 2002][0] about `rpm` using a duff zlib implementation, but I'd
hope that problem would be fixed by now, particularly given it works in
Red Hat.

Redacted `cygcheck` output is attached.


Attachment: cygcheck.out
Description: cygcheck.out

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]