|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On Wed, 10 Feb 2010, Fulko Hew wrote:
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?
run: rpm -qR mypackage.rpmb/c I suspect the things providing perl(SNMP_Session) are different on el5 than on f12.
_______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxx http://lists.baseurl.org/mailman/listinfo/yum
[Home] [Fedora Users] [Fedora Legacy List] [Fedora Maintainers] [Fedora Desktop] [Red Hat 9 Bible] [Fedora Bible] [Fedora SELinux] [Big List of Linux Books] [Yosemite News] [Yosemite Photos] [KDE Users] [Fedora Tools]