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.
--> Missing Dependency: libbz2.so.1 is needed by package rpm-libs-4.4.2.3-22.0.1.el5_7.
rpm-4.4.2.3-22.0.1.el5_7.2.
--> Missing Dependency: libbz2.so.1 is needed by package rpm-4.4.2.3-22.0.1.el5_7.2.
1:net-snmp-5.3.2.2-14.0.1.el5_
--> Missing Dependency: libsensors.so.3 is needed by package 1:net-snmp-5.3.2.2-14.0.1.el5_
1:net-snmp-5.3.2.2-14.0.1.el5_
rpm-libs-4.4.2.3-22.0.1.el5_7.
--> 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.
rpm-4.4.2.3-22.0.1.el5_7.2.
--> 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.
Error: Missing Dependency: libsensors.so.3 is needed by package 1:net-snmp-5.3.2.2-14.0.1.el5_
Error: Missing Dependency: libbz2.so.1 is needed by package rpm-libs-4.4.2.3-22.0.1.el5_7.
Error: Missing Dependency: libbz2.so.1 is needed by package rpm-4.4.2.3-22.0.1.el5_7.2.
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.
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.
Error: Missing Dependency: libperl.so is needed by package 1:net-snmp-5.3.2.2-14.0.1.el5_
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.