RPM Community Forums

Mailing List Message of <rpm-users>

Re: MD5 digest: BAD

From: Jeffrey Johnson <n3npq@me.com>
Date: Tue 14 Feb 2012 - 00:31:40 CET
Message-id: <76D18CB5-468E-4461-B456-D441A8B06DFD@me.com>

On Feb 13, 2012, at 4:44 PM, PuttaReddy Challa wrote:

> Thanks Jeff for taking a look at the issue. here are the versions of RPMs involved.
> 
> 1) RH AS 4 x86-64 build machine where RPM is created
> [rh4as-x86-64 ~]$ rpm --version
> RPM version 4.3.3
> 
> 2) RH AS 3 32 build machine where RPM is created
> rh3as-x86 ~]$ rpm --version
> RPM version 4.2.3
> [buildusr@rh3as-x86 ~]$
> 
> 
> 3) Machine i was trying to install the RPM created on RH AS4 x86-64
> rpm --version
> RPM version 4.2.3
> 

OK.

> RPMs created using step (2) used to work before the size of the RPM is increased from 3.6 to 4.2GB (when i removed some of the files that are part of this RPM and reduced the size back to 3.6GB rpm installed worked without MD5 digest error)

So the error is tracking with the files that you removed.

Note that there is an upper limit on both the package payload and each file
contained in a package in older versions of RPM (if you are truly creating
packages that are 3.6Gb and larger).

My guess is that one of those files is a shared library (like lib*.so.*).

You need to run
	prelink --undo
(see "man pre link") on the shared library before putting attempting to include
in a *.rpm package.

> 
> The RPM consists of set of tar_gz files.
> 

Does the above make more sense? If not, tell me the paths
of the files that you removed that "fixed" the issue?

hth

73 de Jeff
Received on Tue Feb 14 00:31:57 2012
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.