public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* rpm fails md5 hash when extracting valid .rpm source file
@ 2012-03-23 12:37 Adam Dinwoodie
  0 siblings, 0 replies; only message in thread
From: Adam Dinwoodie @ 2012-03-23 12:37 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1480 bytes --]

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
Cygwin.

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}
    iproute-2.6.32-10.el6
    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.

[0]: http://tech.groups.yahoo.com/group/rpm-list/message/17222

[-- Attachment #2: cygcheck.out --]
[-- Type: application/octet-stream, Size: 63010 bytes --]

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-23 12:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-23 12:37 rpm fails md5 hash when extracting valid .rpm source file Adam Dinwoodie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).