This content has been marked as final. Show 4 replies
I have situation where i have to install custom rpms for net-snmp.Why? How are the distribution RPM packages deficient?
What will happen or what ll be the effect of removing the net-snmp,net-snmp-utils and net-snmp-perl rpms from the system forcefully?The oracle-linux RPM lists these as requirements; that is not the kernel. So, whatever you do with the net utils, you won't hurt the kernel; you may just disable your SNMP support.
I see a dependency to oracle-linux kernal rpms.
Any approach that mentions "--force" is automatically suspect. You can only use the "--force" switch once in your career; are you sure this is the time? :)
So if you want to use your own RPM packages they should have higher revision number than your currently-installed packages, so they should just update normally.
What am I missing?
Assuming that the dependency is there for a reason you will break system integrity regardless of possible affects or consequences.1 person found this helpful
For what it's worth:
I'd rather try to find out why the existing snmp software need to be replaced or whether you just need to update some configuration. What is the complete story?
# find /lib/modules/`uname -r`/kernel/ -name *snmp* /lib/modules/2.6.39-300.26.1.el5uek/kernel/net/ipv4/netfilter/nf_nat_snmp_basic.ko /lib/modules/2.6.39-300.26.1.el5uek/kernel/net/netfilter/nf_conntrack_snmp.ko
Since the custom package has a different name, it is not able to update it normally. Instead it is give file file conflicts between them.
rpm name is like <company_name>-net-snmp.
Edited by: 1007554 on May 23, 2013 5:14 AM
The net-snmp package contains the snmp init daemon and other related files. I would not replace a standard package with some alien software. You cannot predict the effect. SNMP was known in the past for security issues too.
You could try to extract and compare your package to find out what is different:
wget http://public-yum.oracle.com/repo/OracleLinux/OL5/latest/x86_64/net-snmp-18.104.22.168-20.0.2.el5.x86_64.rpm rpm2cpio net-snmp-22.214.171.124-20.0.2.el5.x86_64.rpm | cpio -idmv