Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm seeing some errors in my apache logs and they may (or may not) be related to some packages that I recently installed/removed using Yum.

Is there a way to view the history of Yum packages that have been updated/installed/removed ?

I could use the "history" command from unix, but some installations may have been done with different accounts. I've tried searching the web and reading the man page too but haven't found anything.

share|improve this question
add comment

3 Answers

up vote 13 down vote accepted

I believe you can find what you are looking for in the Yum log files, located in /var/log/yum.log

share|improve this answer
    
Thanks Mark. This is exactly what I'm looking for. –  Chris Jun 2 '10 at 1:12
add comment

also try

grep yum < ~/.bash_history
share|improve this answer
add comment

Well,

yum history

does the job as well.

share|improve this answer
    
Doesn't seem to work on CentOS (at least, no my installation). –  Daren Chandisingh Nov 21 '11 at 16:57
    
Ah, ok. Fedora only. –  lzap Nov 21 '11 at 23:02
    
It's there now as of CentOS 6.2 ("yum help history"). "All good things come to those who wait...", the "those" being downstream users, the "good things" being stable software. Personally, I'm frequently too impatient to wait.... –  michael_n Feb 19 '12 at 10:07
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.