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

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



Hallo Guillem,

* Guillem Jover <guillem@debian.org> [2005-07-09 01:52]:
> On Fri, Jul 08, 2005 at 02:03:32PM +0200, Nico Golde wrote:
> > * Package name    : apt-history
> >   Version         : 0.1
> >   Upstream Author : Vittorio Palmisano <redclay@email.it>
> > * URL             : http://redclay.altervista.org/archivio/python/apt-history/
> > * License         : GPL
> >   Description     : logs the changes when installing
> > 
> > apt-history logs the changes of /var/lib/dpkg/status when installing,
> > removing, upgrading packages with apt-get
> 
> Does this package makes sense now that dpkg logs into
> /var/log/dpkg.log?

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

-- 
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: pgpXxYsnVQHNP.pgp
Description: PGP signature


Reply to: