How can you track the changes made to your system by apt-get install or apt-get upgrade? How do you track added deleted or modified files? apt-listchanges is a very useful utility you had always craved for. It is a Debian specific tool and doesn’t work on Ubuntu at the time of writing.
apt-listchanges gets the details from the debian/changelogs and debian/NEWS files which ship with a package.
To install the package on Debian, run:
$ sudo apt-get install apt-listchanges
It will ask you a few configuration questions. Answer those and you are good to go. To change the settings later, run:
$ sudo dpkg-reconfigure apt-listchanges
Based on your configuration settings, apt-checkinstall will prompt you during installation of any package. You can also check the changelog for an installed package using:
$ apt-listchanges --which=changelogs packagename