Rollback Patches

Christian Campbell ccampbell at brueggers.com
Tue Sep 8 16:50:23 UTC 2009


> Christian Campbell wrote:
> >> He's not asking about OS Upgrades.. but more patches etc, so
> singular
> >> application updates.
> >>
> >> Christian,
> >> You can always rollback with rpm -Uvh --force to the old version of
> the
> >> rpm (do you have up2date set to keep the rpm's locally?).
> >>
> >> What version of RHEL are you running?
> >>
> >
> > RHEL 4.5.  Keepafterinstall is set to 0 currently.
> >
> > So I understand, if I upgraded cpp from 3.4.6-10 to 3.4.6-11, and I
> needed to roll it back, I could do:
> >
> > rpm -Uvh --force cpp-3.4.6-10
> >
> 
> While --force works, --oldpackage is probably more correct
> 

Is there a difference?  Man rpm shows:

--force
              Same as using --replacepkgs, --replacefiles, and --oldpackage

Christian




More information about the redhat-sysadmin-list mailing list