RPM Community Forums

Mailing List Message of <rpm-devel>

Re: cpio: File digest mismatch with rpm 5.1.4

From: Jeff Johnson <n3npq@mac.com>
Date: Fri 08 Aug 2008 - 00:46:15 CEST
Message-ID: <20080680668570986700786876175568558096-Webmail2@me.com>
On Thursday, August 07, 2008, at 02:34PM, "Bernhard Rosenkränzer" <bero@arklinux.ch> wrote:
>I know this error message usually indicates a corrupted download or 
>somesuch -- but in this particular case, rebuilding the package doesn't help.
>Trying to install
>always results in
>error: unpacking of archive failed on file /usr/lib/libxml2.a;489b3fda: cpio: 
>File digest mismatch

     md5sum  /usr/lib/libxml2.a;489b3fda
with what is in the header.

>Rebuilding doesn't help, and rpm -qp --checksig 
>libxml-static-2.6.32-1ark.i586.rpm agress that the file is ok.

Note that rpm -qp verifies payload digest, not file digests.

>The source rpm is 

Rebuilding from *.src.rpm won't help (but won't hurt). The plaintext and the digest are in the
binary *.rpm.

>Any ideas?

Including prelinked *.so libraries in packages can/will lead to curious
behavior like you are reporting. But prelinking does not touch *.a

73 de Jeff
>RPM Package Manager                                    http://rpm5.org
>Developer Communication List                        rpm-devel@rpm5.org
Received on Fri Aug 8 00:46:19 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.