Rollback Patches

Trevor Hemsley trevor.hemsley at codefarm.com
Tue Sep 8 16:47:30 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

-- 

Trevor Hemsley
Infrastructure Engineer
.................................................
* C A L Y P S O
* Brighton, UK   

OFFICE 	+44 (0) 1273 666 350
FAX 	+44 (0) 1273 666 351

.................................................
www.calypso.com

This electronic-mail might contain confidential information intended
only for the use by the entity named. If the reader of this message is
not the intended recipient, the reader is hereby notified that any
dissemination, distribution or copying is strictly prohibited.

* P * /*/ Please consider the environment before printing this e-mail /*/




More information about the redhat-sysadmin-list mailing list