How to review package installation logs on Linux Mint Debian Edition.

Posted: July 5, 2014. At: 11:47 PM. This was 3 years ago. Post ID: 7489
Page permalink: http://securitronlinux.com/bejiitaswrath/how-to-review-package-installation-logs-on-linux-mint-debian-edition/

The cat /var/log/apt/term.log command will allow you to retrieve information about a package installation; you may then review the installation process and see if anything went wrong during the installation process. In the example below, I am reviewing an installation of Midnight Commander.

[email protected]:~$ cat /var/log/apt/term.log | grep mc
Selecting previously unselected package libxdmcp6:amd64.
Preparing to unpack .../01-libxdmcp6_1%3a1.1.2-1.1_amd64.deb ...
Unpacking libxdmcp6:amd64 (1:1.1.2-1.1) ...
Selecting previously unselected package libxvmc1:amd64.
Preparing to unpack .../76-libxvmc1_2%3a1.0.9-1ubuntu1_amd64.deb ...
Unpacking libxvmc1:amd64 (2:1.0.9-1ubuntu1) ...
Setting up libxdmcp6:amd64 (1:1.1.2-1.1) ...
Setting up libxvmc1:amd64 (2:1.0.9-1ubuntu1) ...
Selecting previously unselected package pcmciautils.
Preparing to unpack .../117-pcmciautils_018-8_amd64.deb ...
Unpacking pcmciautils (018-8) ...
Setting up pcmciautils (018-8) ...
Selecting previously unselected package mc-data.
Preparing to unpack .../mc-data_3%3a4.8.18-1_all.deb ...
Unpacking mc-data (3:4.8.18-1) ...
Selecting previously unselected package mc.
Preparing to unpack .../mc_3%3a4.8.18-1_amd64.deb ...
Unpacking mc (3:4.8.18-1) ...
Setting up mc-data (3:4.8.18-1) ...
Setting up mc (3:4.8.18-1) ...
update-alternatives: using /usr/bin/mcview to provide /usr/bin/view (view) in auto mode

Use this command to get the history of all installed packages on your system: cat /var/log/apt/history.log this is a good way to keep track of what is installed.

No comments have been made. Use this form to start the conversation :)

Leave a Reply