On Wed, 2005-06-22 at 12:55 -0400, Brian Long wrote: > On Tue, 2005-06-21 at 17:28 -0400, seth vidal wrote: > > On Tue, 2005-06-21 at 17:24 -0400, Brian Long wrote: > > > I have a workstation with the following HP-provided RPMs: > > > > > > net-snmp-cmaX-5.1 (provides net-snmp as well) > > > net-snmp-cmaX-devel-5.1 > > > net-snmp-cmaX-utils-5.1 > > > > > > I have an RPM foo that obsoletes net-snmp <= 5.0.9 (the stock RHEL 3 > > > version). For some reason, when I run "yum install foo", I get the > > > following dependency errors: > > > > > > --> Running transaction check > > > --> Processing Dependency: libnetsnmp.so.5 for package: ethereal > > > --> Processing Dependency: net-snmp >= 5.0 for package: ethereal > > > --> Processing Dependency: libsnmp.so.5 for package: hpoj > > > --> Processing Dependency: libnetsnmp.so.5 for package: ethereal-gnome > > > --> Processing Dependency: net-snmp for package: hpoj > > > --> Finished Dependency Resolution > > > Error: Missing Dependency: libnetsnmp.so.5 is needed by package ethereal > > > Error: Missing Dependency: net-snmp >= 5.0 is needed by package ethereal > > > Error: Missing Dependency: libsnmp.so.5 is needed by package hpoj > > > Error: Missing Dependency: libnetsnmp.so.5 is needed by package > > > ethereal-gnome > > > Error: Missing Dependency: net-snmp is needed by package hpoj > > > > > > net-snmp-cmaX is installed and provides all 5 of the above dependencies. > > > Also, my obsoletes specifically mentions net-snmp <= 5.0.9. Why is it > > > trying to remove net-snmp-cmaX-5.1? > > > > could you run rpm -q --provides net-snmp-cmaX > > config(net-snmp-cmaX) = 5.1-83 > libnetsnmp.so.5 > libnetsnmpagent.so.5 > libnetsnmphelpers.so.5 > libnetsnmpmibs.so.5 > libnetsnmptrapd.so.5 > libsnmp.so.5 > net-snmp > snmpd > snmptrapd > net-snmp-cmaX = 5.1-83 > > Is my problem happening because net-snmp-cmaX provides net-snmp with no > version number? If it provided net-snmp = 5.1-83, would my obsoletes > work as planned? > > I hate HP's RPMs! :( ugh. okay it is possible you're getting bitten by something that rpm does. It's called an implicit obsolete. I had forgotten about it. if you could try this command: rpm -Uvh --test /path/to/nmap_rpm tell me what it comes back to you with. thanks, -sv