[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#317430: ITP: apt-history -- logs the changes when installing



Hallo David,

* David Pashley <david@davidpashley.com> [2005-07-09 12:02]:
> On Jul 09, 2005 at 01:14, Nico Golde praised the llamas by saying:
sn 
> 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?

But for example:
apt-history show install
2005-07-09 00:12:03: install  libstdc++6-4.0-dev                       4.0.0-12
2005-07-09 00:12:03: install  libaa1                                   1.4p5-28
2005-07-09 00:12:03: install  libstdc++6                               4.0.0-12
2005-07-09 00:12:03: install  g++-4.0                                  4.0.0-12
2005-07-09 00:12:03: install  gcc-4.0                                  4.0.0-12
2005-07-09 00:12:03: install  cpp-4.0                                  4.0.0-12
2005-07-09 10:00:09: install  fireflies                                2.05-1
2005-07-09 10:00:09: install  aptitude                                 0.2.15.9-3
2005-07-09 10:02:28: install  libgtop2-5                               2.10.2-1
2005-07-09 10:03:13: install  apt-listchanges                          2.59-0.2
root@noname:/home/nion$ grep install /var/log/dpkg.log | tail
2005-07-09 12:02:20 install libgtop2-5 <keine> 2.10.2-1
2005-07-09 12:02:20 status half-installed libgtop2-5 2.10.2-1
2005-07-09 12:02:26 status installed libgtop2-5 2.10.2-1
2005-07-09 12:02:28 status installed slmon 0.5.13-2
2005-07-09 12:03:07 install apt-listchanges 2.59-0.2 2.59-0.2
2005-07-09 12:03:07 status half-installed apt-listchanges 2.59-0.2
2005-07-09 12:03:12 status installed apt-listchanges 2.59-0.2
2005-07-09 12:04:00 status installed plotutils 2.4.1-12
2005-07-09 12:04:02 status half-installed plotutils 2.4.1-12
2005-07-09 12:04:02 status not-installed plotutils <keine>

I think there is apt-history a better way.
No it isn't a wrapper around the dpkg.log it only uses /var/lib/dpkg/status
regards Nico


-- 
Nico Golde - JAB: nion@jabber.ccc.de | GPG: 0x73647CFF
http://www.ngolde.de | http://www.muttng.org | http://grml.org 
VIM has two modes - the one in which it beeps 
and the one in which it doesn't -- encrypted mail preferred

Attachment: pgp9IlqBCFSdb.pgp
Description: PGP signature


Reply to: