Solved

RHEL5 rollback using rpm

Posted on 2010-08-25
4
1,125 Views
Last Modified: 2013-12-15
In rhel5, we can rollback the system if the updates fails, using rpm -Uvh --rollback '2 hours ago". I just want to know whether it is possible to list all the rollback transactions using rpm or yum so that i can select to which rollback date/time i have to put the system back.
0
Comment
Question by:pankajgadhari
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 29

Accepted Solution

by:
Jan Springer earned 250 total points
ID: 33530651
ls -lt /var/spool/repackage
0
 
LVL 1

Author Comment

by:pankajgadhari
ID: 33532041
This directory contains all the packages repackaged, which will contain all the previous updates applied. Is there a single command for this to directly list the tid,time & date so that we can select the time we need to restore.

Also, everytime we update, whether these directory will be overwritten or the old packages keep accumulating in the directory ?
0
 
LVL 29

Expert Comment

by:Jan Springer
ID: 33532252
The packages will accumulate.

I'm not certain of your question.

You can do an:

ls -lt /var/spool/repackage/PACKAGE*

or

ls -lt /var/spool/repackage | grep "MMM DD"
0
 
LVL 1

Author Closing Comment

by:pankajgadhari
ID: 33621885
Solution was as expected
0

Featured Post

Database Solutions Engineer FAQs

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller single-server environments.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question