KB Article #177426

yum system upgrade on Oracle Linux Appliance failure with net-snmp-utils dependencies

Problem

Upgrading an Oracle Linux Appliance system packages on a system dating back to around 6.3.1 API Gateway version. The yum system update which excludes and gateway packages fails with following error.

--> Finished Dependency Resolution
rpm-libs-4.4.2.3-22.0.1.el5_7.2.i386 from kingsofsoa has depsolving problems
--> Missing Dependency: libbz2.so.1 is needed by package rpm-libs-4.4.2.3-22.0.1.el5_7.2.i386 (kingsofsoa)
rpm-4.4.2.3-22.0.1.el5_7.2.i386 from kingsofsoa has depsolving problems
--> Missing Dependency: libbz2.so.1 is needed by package rpm-4.4.2.3-22.0.1.el5_7.2.i386 (kingsofsoa)
1:net-snmp-5.3.2.2-14.0.1.el5_7.1.i386 from kingsofsoa has depsolving problems
--> Missing Dependency: libsensors.so.3 is needed by package 1:net-snmp-5.3.2.2-14.0.1.el5_7.1.i386 (kingsofsoa)
1:net-snmp-5.3.2.2-14.0.1.el5_7.1.i386 from kingsofsoa has depsolving p! roblems< br> --> Missing Dependency: libperl.so is needed by package 1:net-snmp-5.3.2.2-14.0.1.el5_7.1.i386 (kingsofsoa)
rpm-libs-4.4.2.3-22.0.1.el5_7.2.i386 from kingsofsoa has depsolving problems
--> Missing Dependency: popt = 1.10.2.3-22.0.1.el5_7.2 is needed by package rpm-libs-4.4.2.3-22.0.1.el5_7.2.i386 (kingsofsoa)
rpm-4.4.2.3-22.0.1.el5_7.2.i386 from kingsofsoa has depsolving problems
--> Missing Dependency: popt = 1.10.2.3-22.0.1.el5_7.2 is needed by package rpm-4.4.2.3-22.0.1.el5_7.2.i386 (kingsofsoa)
Error: Missing Dependency: libsensors.so.3 is needed by package 1:net-snmp-5.3.2.2-14.0.1.el5_7.1.i386 (kingsofsoa)
Error: Missing Dependency: libbz2.so.1 is needed by package rpm-libs-4.4.2.3-22.0.1.el5_7.2.i386 (kingsofsoa)
Error: Missing Dependency: libbz2.so.1 is needed by package rpm-4.4.2.3-22.0.1.el5_7.2.i386 (kingsofsoa)
Error: Missing Dependency: popt = 1.10.2.3-22.0.1.el5_7.2 is needed by package rpm-4.4.2.3-22.0.1.el5_7.2.i386 (kingsofsoa)
Error: Missing Dependency: popt = 1.10.2.3-22.0.1.el5_7.2 is needed by package rpm-libs-4.4.2.3-22.0.1.el5_7.2.i386 (kingsofsoa)
Error: Missing Dependency: libperl.so is needed by package 1:net-snmp-5.3.2.2-14.0.1.el5_7.1.i386 (kingsofsoa)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[root@sdprm1prdxmlg04 /opt/Vordel]



Resolution

$ yum erase net-snmp-utils.i386

Note both 32 and 64 bit libraries are installed so there will be no loss in snmp functionality. If you run the yum erase command above it should show no dependencies when running the system yum update.