[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Redundant/conflicting Perl Provides? (mrtg/perl-SNMP_Session)



Michael Schwendt wrote:
> A look at Fedora 7 package Provides:
> 
> mrtg provides perl(SNMP_util) EQ 0 1.08
> perl-SNMP_Session provides perl(SNMP_util) EQ 0 1.06
>  required by: perl-SNMP_Session - 1.08-3.fc6.noarch
> 
> mrtg provides perl(SNMP_Session) EQ 0 1.08
> perl-SNMP_Session provides perl(SNMP_Session) EQ 0 1.08
>  required by: perl-SNMP_Session - 1.08-3.fc6.noarch
>  required by: mrtg - 2.15.1-2.fc7.i386
> 
> mrtg provides perl(BER) EQ 0 1.05
> perl-SNMP_Session provides perl(BER) EQ 0 1.05
>  required by: perl-SNMP_Session - 1.08-3.fc6.noarch
>  required by: mrtg - 2.15.1-2.fc7.i386
> 

[snip]

> 
> Some of these may be redundant on purpose. But some look suspicious,
> because multiple packages provide the same thing. For example, "mrtg"
> provides something required by
> "perl-SNMP_Session".
> 
> Comments anyone?


mrtg shouldn't provide the above perl modules as they aren't
installed under /usr/lib/perl5.  mrtg installs them in
a mrtg private dir (/usr/lib/mrtg2) which isn't list in the perl
search path (array @INC).

$ rpm -qpl mrtg-2.15.1-3.fc8.i386.rpm | grep lib
...
/usr/lib/mrtg2/BER.pm
/usr/lib/mrtg2/SNMP_Session.pm
/usr/lib/mrtg2/SNMP_util.pm
...

$ rpm -qpl perl-SNMP_Session-1.08-3.fc6.noarch.rpm | grep perl5
/usr/lib/perl5/vendor_perl/5.8.8/BER.pm
/usr/lib/perl5/vendor_perl/5.8.8/SNMP_Session.pm
/usr/lib/perl5/vendor_perl/5.8.8/SNMP_util.pm

jpo
-- 
José Pedro Oliveira
* mailto:jpo di uminho pt * http://gsd.di.uminho.pt/members/jpo/ *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]