yum rollback

I always face the same problem, and I always forget what to do. So I write it down, just in case. Scenario is the next: you don’t know if you want to install this program here. Then you try, and it tells you it needs package A. Then package B, and C… and when everything runs, you find out the program is useless. Time to rollback!  Solution found here.

# yum install screen
# yum history
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
ID     | Login user  | Date and time    | Action(s)      | Altered
-------------------------------------------------------
     8 | root  | 2011-10-03 14:40 | Install        |    1   
# yum history undo 8
Loaded plugins: product-id, refresh-packagekit, subscription-manager

Removed:
  screen.i686 0:4.0.3-16.el6
Complete!

The problem is, therefore, reduced to finding out what did you do 😀

Advertisements

About bitsanddragons

A traveller, an IT professional and a casual writer
This entry was posted in bits. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s