PDA

View Full Version : Is there any apt log-file?


kb00heda
April 21st, 2005, 01:50 AM
Hi,

Under SuSE I had a /var/log/apt.log file which showed my what packages had been installed or removed, i.e., like the "History" in Synaptic. Is there such a log file in Ubuntu as well, and if so, there to find it?

The "History" in Synaptic doesn't seem to recognize apt modifications made from a terminal.

Regards,
David

mendicant
April 21st, 2005, 10:13 AM
You could use aptitude instead, which does provide a log file, in addition to its other benefits:

http://lists.debian.org/debian-user/2004/04/msg11344.html

xpollux
February 3rd, 2008, 08:32 PM
I realize this is a very old question but it came up when I was searching for this. I don't know if there is an apt log, but there is a dpkg log in /var/log/dpkg.log (or dpkg.log.1) which should be just as good.

NoBugs!
September 2nd, 2009, 01:15 PM
There's also /var/log/apt/term.log, it looks like this is the file synaptic is reading with the file-history command.

joep-vd
February 26th, 2010, 11:15 PM
if i remember all correctly, then both what I did in Synaptic and through apt-get end up in /var/log/apt/term.log. Not very handy to compile a list of installed packages though...

dumpsterdiver
August 18th, 2010, 07:40 AM
/var/log/apt/history.log

Seems to contain all changes regarding packages.

feeela
September 27th, 2011, 12:35 PM
I've noticed that /var/log/dpkg.log is much more detailed than /var/log/apt/history.log, but both contain a goog overview of changes via apt in terminal.

oldos2er
September 27th, 2011, 12:44 PM
Closed for necromancy.