a dependency is not being detected?

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

 



I've been perplexed by yum....

I have a package (rpm) I've created.  One if its dependencies is
'perl-SNMP-Session'.
When I build my package the process reports
(trimmed for brevity):


Requires: /bin/sh /usr/bin/perl bash chkconfig coreutils grep
initscripts mysql-server perl >= 0:5.002 perl(AutoLoader)

...
perl(SNMP_Session)
...


To install, I use: 'yum install --nogpgcheck MyPackage.rpm'

On Fedora boxes (example F12) it detects the missing dependency
and also installs perl-SNMP-Session,
but on an RHEL 5.4 box it
doesn't report the missing dependency.


Note: The RHEL 5.4 box does have the mrtg package installed,
and that package has a copy
of the relevant files I need,
(but the mrtg package doesn't install them into a location that Perl can find.)


# rpm -qa --filesbypkg | grep SNMP_Session
mrtg     /usr/lib/mrtg2/SNMP_Session.pm

Using the 'verbose' flag during yum install, it says:

looking for ('perl(SNMP_Session)', None, (None, None, None)) as a requirement of MyPackage.noarch 0-1.0-5 u

but:  'yum list "*SNMP_Session*"' reports it as 'available', _not_ 'installed':

Available Packages:
perl-SNMP_Session.noarch     1.12-3.el5.1    epl

So the question is...
if its not installed, why isn't it being required/found as a missing dependency?


TIA
Fulko






_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux