How to find the history of updated packages by apt-get or aptitude?

How to find the history of updated packages by apt-get or aptitude?

asked Sep 9, 2014 by anonymous

1 Answer

The history is in log files of dpkg and apt:

/var/log/dpkg.log
/var/log/apt/history.log
/var/log/aptitude

To check the recently installed packages:

cat /var/log/dpkg.log | grep "\ install\ "

To list history of recently installed packages by apt-get:

cat /var/log/apt/history.log | grep "\ install\ "

To list history of recently installed packages by apt-get:

cat /var/log/aptitude | grep "\[INSTALL\]"
answered Sep 14, 2014 by Eric Z Ma (44,280 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...