Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Is there a way to see the upgrade history with date with some program e.g. apt? I want to know when exactly I upgraded security relevant packages the last time and the time before that... Thanks a lot! Edit: My bad. Forgot to mention that I am using Crunchbang waldorf. Sorry.

share|improve this question
    
What OS are you using? Ubuntu? –  i08in Apr 20 at 10:27
    
No Crunchbang. Sorry, forgot to write that –  aldorado Apr 20 at 10:37
    
Similar - unix.stackexchange.com/q/12578/4671. These kinds of questions have been asked before, and some of them should probably be closed as dupes. –  Faheem Mitha Apr 20 at 11:46
add comment

1 Answer 1

up vote 5 down vote accepted

The apt history is usually kept in /var/log/apt. You should be able to view the most recent log with:

less /var/log/apt/history.log

Older log files may be compressed, so you may need:

zless /var/log/apt/history.log.1.gz

Also see the term.log files for the output that was on the terminal.

share|improve this answer
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.