Re: broken RPM for Centos5

Xavier Poinsard <[email protected]> Fri, 22 Aug 2014 16:32:33 +0200
Newsgroups gmane.linux.jpackage.general
Message-ID <[email protected]>
Hi,

Replying to myself : I managed to workaround this issue by modifying the =

three rpms.
I set up a docker Centos6 image, downloaded the rpms, installed =

rpmrebuild (http://sourceforge.net/projects/rpmrebuild/files/rpmrebuild/)
  to modify the rpm by adding the following lines to their spec file :
%define _binary_payload w9.gzdio
%define _source_payload w9.gzdio
%define _binary_filedigest_algorithm 1
%define _source_filedigest_algorithm 1

Then I just had to install the modified rpms and go on with tomcat7 =

installation.

Best regards,
Xavier.

Le 21/08/2014 14:27, Xavier Poinsard a =E9crit :
> Hi,
>
> I am facing errors while trying to install tomcat7 packages on Centos5 :
>
> ERROR with rpm_check_debug vs depsolve:
> rpmlib(FileDigests) is needed by =

> apache-commons-daemon-1.0.15-1.jpp6.noarch
> rpmlib(PayloadIsXz) is needed by =

> apache-commons-daemon-1.0.15-1.jpp6.noarch
> rpmlib(FileDigests) is needed by =

> apache-commons-logging-1.1.3-2.jpp6.noarch
> rpmlib(PayloadIsXz) is needed by =

> apache-commons-logging-1.1.3-2.jpp6.noarch
> rpmlib(FileDigests) is needed by =

> apache-commons-pool-tomcat5-1.5.7-1.jpp6.noarch
> rpmlib(PayloadIsXz) is needed by =

> apache-commons-pool-tomcat5-1.5.7-1.jpp6.noarch
>
> I saw a reference to this problem here : =

> http://www.zarb.org/pipermail/jpackage-discuss/2012-June/030363.html
> But it seems related to the build of the package.
> Can someone fix these packages or explain me how to fix it on the user =

> side ?
>
> Thanks,
> Xavier.