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

Re: How to find WHEN a package was installed



On Mon, 1 Mar 2004 12:13:00 +0000
Colin Watson <cjwatson@debian.org> wrote:
> On Mon, Mar 01, 2004 at 09:50:26PM +1000, Peter A. Cole wrote:
>> I need to find out when my perl version was upgraded, and I can use
>> dpkg to verify the fact that it's installed, but I can't seem to find
>> a way to display *when* it was installed.
>> 
>> Any hints? Or am I missing something obvious in a manpage or
>> something?
> 
> I'm sorry, but there's no facility in dpkg to log installations at the
> moment: it's a long-standing enhancement request. You either have to do
> it yourself, or use aptitude which I believe has installation logging
> support.
> 
> If the upgrade was recent, you may be able to dig out a date by
> comparing /var/lib/dpkg/status, /var/lib/dpkg/status-old, and
> /var/backups/dpkg.status.*.

Another possibility would be looking at the dates on the files for
the package in /var/lib/dpkg/info.

-c

-- 
Chris Metzler			cmetzler@speakeasy.snip-me.net
		(remove "snip-me." to email)

"As a child I understood how to give; I have forgotten this grace since I
have become civilized." - Chief Luther Standing Bear

Attachment: pgpVLlI1n6gK7.pgp
Description: PGP signature


Reply to: