strange RPM dependency in LogReport's perl-MIME-tools-5.411-7.noarch.rpm on Red Hat 7.2

Wytze van der Raay wytze at nlnet.nl
Thu Aug 14 15:02:34 CEST 2003


On Tue, Aug 12, 2003 at 12:53:17PM +0200, Joost van Baal wrote:
> I've downloaded RPMs from http://download.logreport.org/pub/rpm/redhat/7.3/RPMS.lire/ .
> 
>  joostvb at perlharbor:~% head -1 /etc/issue
>  Red Hat Linux release 7.2 (Enigma)
> 
> Hrmm...  Just lets try it...
> 
>  root at perlharbor:/usr/local/src/rpms# rpm -i lire-1.3-1.noarch.rpm                  
>  error: failed dependencies:
>         perl-MIME-tools is needed by lire-1.3-1
> 
>  root at perlharbor:/usr/local/src/rpms# rpm -i perl-MIME-tools-5.411-7.noarch.rpm
>  error: failed dependencies:
>         perl(MIME::Base64) >= 2.04 is needed by perl-MIME-tools-5.411-7
> 
>  root at perlharbor:/usr/local/src/rpms# rpm --info --query perl-MIME-Base64      
>  Name        : perl-MIME-Base64             Relocations: (not relocateable)
>  Version     : 2.12                              Vendor: Red Hat, Inc.
>  Release     : 6                             Build Date: Mon 23 Jul 2001 04:40:16 PM CEST
>  Install date: Fri 24 May 2002 03:44:27 PM CEST      Build Host: stripples.devel.redhat.com
>  Group       : System Environment/Libraries   Source RPM: perl-MIME-Base64-2.12-6.src.rpm
>  Size        : 28641                            License: GPL or Artistic
>  Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
>  Summary     : Perl module for MIME encoding/decoding (base64 and quoted-printable)
>  ....

You should try:

	rpm --query -provides perl-MIME-Base64

On RH7.3 this says:

	Base64.so
	perl(MIME::Base64) = 2.12
	perl(MIME::QuotedPrint) = 2.3
	perl-MIME-Base64 = 2.12-14

I suspect that on RH7.2, perl(MIME::Base64) is  perhaps not explicitly listed
in the perl-MIME-Base64 as a capability which is provided by that package.
Hence the dependency requested by perl-MIME-tools-5.411-7.noarch.rpm for
perl(MIME::Base64) >= 2.04 isn't satisfied in the RPM database, even though
it is in practice.

> ( root at perlharbor:/usr/local/src/rpms# up2date perl-MIME-Base64
>   None of the packages you requested were found, or they are already updated. )
> 
> Is this a bug in the RPM dependency tracking?  Is there a known
> workaround?

You can use the --nodeps switch to turn off dependency checking when
installing lire-1.3-1.noarch.rpm. It a pretty rough thing to do though,
so tread with care.

> Furthermore, I foresee troubles installing lire-html on Red Hat Linux
> 7.2: docbook-style-xsl is not shipped by Red Hat for this platform.  Any
> hints about this?  Should I build an RPM for this myself?  Would it be
> useful to try to install a 7.3 RPM from Red Hat for this?

I don't quite remember the situation with RH 7.2 anymore, but I think
it worked OK with html and pdf output on my system, after I installed
the missing modules. Take a look at:
  http://download.logreport.org/pub/archive/rpm/redhat-7.2/dependencies/
to find out what needed and worked (with an older release of Lire).
The xml-common and docbook-style-xsl rpms found there were taken from
RH 7.3 according to README.txt.

Regards,
-- wytze

-- 
To UNSUBSCRIBE, email to development-request at logreport.org with a subject of
"unsubscribe". Trouble? Send an email with subject "help" to
development-request at logreport.org



More information about the Development mailing list