Re: How To Upgrade Net-SNMP w/o breaking RPM dependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On November 12, 2003 07:16 pm, Jeff wrote:
> I'm still a bit of a n00b but at a guess...
>
> rpm -Uvh --force net-snmp-5.0.9.rpm
>
> Any rpm pro's out there who can confirm?
>
> Jeff
>
> On Wed, 2003-11-12 at 14:06, Rhugga wrote:
> > I want to remove the version of net-snmp that comes with RH9,
> > net-snmp-5.0.6-17 with an RPM of 5.0.9 however there are several
> > dependencies on it.
> >
> > Can I force remove net-snmp and then install the 5.0.9 version w/o
> > breaking anything?
> >
> > Thx,
> > CC

Hi,
Yes, that would do it, however, I would be concerned about the dependencies.
A few things (at least) to check against the installed package:
rpm -q --whatrequires net-snmp
rpm -q -R net-snmp   (basically the opposite of --whatrequires).
rpm -q --provides net-snmp 

That will give you an idea of what else you may need to update or what else 
may break if you use --force.

As an extra layer of paranoia, I usually stick a --test when using any 
install/upgrade options.
 
-- 
Pete Nesbitt, rhce


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux