[Yum] a dependency is not being detected?

Seth Vidal skvidal at fedoraproject.org
Wed Feb 10 16:38:32 UTC 2010



On Wed, 10 Feb 2010, Fulko Hew wrote:

> ...
> dependency: perl(SNMP_Session)
>   provider: perl-SNMP_session.noarch 1.12-3.el5.1
>   provider mrtg.i386 2.14.5-2


mrtg has the shorter name and all other things being equal, that will 
cause it to be selected

> I would think the 'correct' answer would be to 'fix' mrtg so that
> it doesn't tell yum/rpm that it is providing something that
> others can't find/use.

yep.


> My only recourse (at the moment) seems to be to manually install
> perl-SNMP-Session first, and then MyPackage.
>

or run:

yum install mypackage.rpm perl-SNMP-Session

or add a pkg-specific dep into mypackage.

-sv


More information about the Yum mailing list