Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

One of my questions on here has a lot of views and I have yet to select the best answer. Unfortunately, I cannot remember how I solved my problem.

The problem involved installing some stuff from yum. So I did:

history | grep yum

But I got no results, probably because I ran those commands many months ago, some time around January I think...

Is there any way to dig up that old history?

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

You can also view the Yum transaction log in /var/log/yum.log to see which packages were installed/updated/removed over time.

share|improve this answer
1  
This is really useful. I think this will allow me to reconstruct what I did. –  Buttle Butkus Sep 27 '12 at 4:52
add comment

Try with "yum history list all". Follwoing is a link to yum history details.

http://docs.fedoraproject.org/en-US/Fedora/16/html/System_Administrators_Guide/sec-Yum-Transaction_History.html

share|improve this answer
    
That command doesn't work at all on my CentOS machine. –  Buttle Butkus Sep 27 '12 at 4:52
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.