The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 08-25-2008
sydney2008 sydney2008 is offline
Registered User
  
 

Join Date: Aug 2008
Location: Sydney, Australia
Posts: 26
I think to rollback to a previous state, perform an rpm update with the --rollback option followed by a date/time specifier (the rollback is time-based because packages affect each other's configuration -- if you removed package a, then b, then c, and then rolled back only package a, the configuration could be broken). Some examples:
  • rpm -Uhv --rollback '9:00 am'
  • rpm -Uhv --rollback '4 hours ago'
  • rpm -Uhv --rollback 'december 25'
Repackaged files are stored in /var/spool/repackage.