The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Rpm package c00kie88 Ubuntu 8 06-06-2008 02:57 PM
how to restore original package after uninstalling the upgraded package using rpm amitpansuria Linux 0 05-27-2008 04:08 AM
how to install package amitarcade SUN Solaris 2 01-23-2008 05:56 PM
Have we just had a rollback of a few hours? porter Post Here to Contact Site Administrators and Moderators 1 12-17-2007 08:51 PM
where can i get package LiS-2.19.1 amitpansuria Red Hat 1 10-30-2007 07:49 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-25-2008
sydney2008 sydney2008 is offline
Registered User
  
 

Join Date: Aug 2008
Location: Sydney, Australia
Posts: 26
RPM Package - Rollback

Is it possible to rollback a package in Redhat ?I don't want to delete any packages.

I have upgraded a package using rpm -Uvh & now i decided to use the old package, is it possible to revert it back to the original package ?
  #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.
  #3 (permalink)  
Old 08-26-2008
sydney2008 sydney2008 is offline
Registered User
  
 

Join Date: Aug 2008
Location: Sydney, Australia
Posts: 26
Can anyone confirm if the above is correct ?? I am outside the VPN & don't have access right now to check.
  #4 (permalink)  
Old 09-01-2008
sydney2008 sydney2008 is offline
Registered User
  
 

Join Date: Aug 2008
Location: Sydney, Australia
Posts: 26
Just for reference, in case if anyone faces the same problem again. Good one

Transactions and Rollback with RPM
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:16 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0