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

Posted on In QA

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

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]"

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *