Re: Does `dpkg' track the installation date of a package?
Karl> I wonder if `dpkg' tracks the installation date of a package,
Karl> whether it should if it doesn't, or why it doesn't if that is the
Karl> case.
Yes, at least sort of, provided you use dselect with the dpkg-mountable
package. Then at least all uses of dpkg that stem from dselect are logged.
dpkg-mountable is pretty cool, it also liberates you from the 'dselect uses
stat() on every file' problem by constructing a list of what needs to be
installed.
Real-life example of the logfile:
edd@miles:~> head -20 /var/log/dpkg-mountable
===========================================================================
dpkg-mountable, run on Sun Dec 14 09:48:58 1997
---------------------------------------------------------------------------
Run details:
Installing package fmirror version 0.8.2-1 from /mirror/debian/dists/unstable/main/binary-i386/net/fmirror_0.8.2-1.deb
MD5 checksum 56f4589d4bca4965a54ebf5b0f542e92 matches.
Upgrading kernel-package from 3.47 to 3.48 from /mirror/debian/dists/unstable/main/binary-i386/misc/kernel-package_3.48.deb
MD5 checksum 8f03421f1c67691597b0db84f07f8bab matches.
Upgrading mount from 2.7f-1 to 2.7g-1 from /mirror/debian/dists/unstable/main/binary-i386/base/mount_2.7g-1.deb
MD5 checksum e48c24aebc574d737ca2e970738f2d7e matches.
[...]
--
edd@rosebud.ml.org According to the latest official figures,
http://rosebud.ml.org/~edd 43% of all statistics are totally worthless.
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: