a dependency is not being detected?
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)
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
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':
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?
Yum mailing list
[Fedora Legacy List]
[Red Hat 9 Bible]
[Big List of Linux Books]