Re: Bug#317430: ITP: apt-history -- logs the changes when installing
On Jul 09, 2005 at 01:14, Nico Golde praised the llamas by saying:
> Ok, now I had a look on the log file.
> I think apt-history is different. If you want you can see
> the same info but the log is a typical logfile. You have to
> use grep and other coreutils to get for example the new
> version of a package and the displayed version of the
> package before because the infos aren't listed in context in
> the logfile. It is easier than building the information apt-history
> gives out of the logfile.
> Example:
>
> sudo apt-history show upgrade
> 2005-07-09 00:12:03: upgrade gstreamer0.8-alsa=0.8.8-3 0.8.10-1
> 2005-07-09 00:12:03: upgrade libbonobo2-common=2.8.1-2 2.10.0-1
> 2005-07-09 00:12:03: upgrade gnome-desktop-data=2.10.1-2 2.10.2-1
> 2005-07-09 00:12:03: upgrade libgimp2.0=2.2.7-1 2.2.8-2
> 2005-07-09 00:12:03: upgrade findutils=4.2.22-1 4.2.22-2
> 2005-07-09 00:12:03: upgrade e2fslibs=1.37+1.38-WIP-0620-1 1.38-1
> 2005-07-09 00:12:03: upgrade dselect=1.13.9 1.13.10
> 2005-07-09 00:12:03: upgrade libgnome-keyring0=0.4.2-1 0.4.3-1
> 2005-07-09 00:12:03: upgrade login=1:4.0.3-35 1:4.0.3-36
> 2005-07-09 00:12:03: upgrade zlib1g-dev=1:1.2.2-4 1:1.2.2-7
> 2005-07-09 00:12:03: upgrade libgcrypt11-dev=1.2.0-11.1 1.2.1-1
> 2005-07-09 00:12:03: upgrade telnet=0.17-29 0.17-30
> 2005-07-09 00:12:03: upgrade libqdbm-dev=1.8.30-1 1.8.30-2
>
> I think it is a nice little tool to furbish the information so I think
> it would be good to have this in the tool chain.
> And please correct me if I missed something
> Regards Nico
>
beebo root% grep upgrade /var/log/dpkg.log | tail
2005-07-09 01:17:02 upgrade eog 2.10.0-0.2 2.10.2-0.1
2005-07-09 01:17:09 upgrade gaim 1:1.3.1-2 1:1.4.0-1
2005-07-09 01:17:10 upgrade gaim-data 1:1.3.1-2 1:1.4.0-1
2005-07-09 01:17:14 upgrade gcj 4:4.0.0-1 4:4.0.0-2
2005-07-09 01:17:15 upgrade gij 4:4.0.0-1 4:4.0.0-2
2005-07-09 01:17:19 upgrade libasound2 1.0.9-2 1.0.9-3
2005-07-09 01:17:19 upgrade libsensors3 1:2.9.1-3 1:2.9.1-4
2005-07-09 01:17:20 upgrade ucf 1.18 2.000
2005-07-09 01:17:23 upgrade libavc1394-0 0.5.0-2 0.5.1-1
2005-07-09 01:17:24 upgrade ssh 1:4.1p1-5 1:4.1p1-6
What else am I missing? Does apt-history hook into /etc/apt/apt.conf or
just a wrapper around dpkg.log?
--
David Pashley
david@davidpashley.com
Nihil curo de ista tua stulta superstitione.
Reply to: