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

Re: installation date



On Fri, 17 Jan 2003 18:44:46 +0100 Jan Willem Stumpel wrote:
> Is there a way to find out which packages were installed /
> re-installed recently, to find out which packages were updated
> after a certain date, or to get a list of installed packages
> sorted by installation date/time?

I don't know of any simple way to get that info from the package
management system, but, using an idea that came up on this list a few
months ago, I have made a little script run by cron every day that
generates a list of all installed packages, compares with the list
generated in the previous run, and adds the changes, duly timestamped,
to a history file.

This enables me to get the info you want:

$ install-log-show alsa-base base-config
<alsa-base>:
2002-09-21 04:55:04: + alsa-base                       0.9.0rc3-0.1
2002-12-03 04:55:01: + alsa-base                       0.9.0rc5-2
2002-12-22 04:55:01: + alsa-base                       0.9.0rc6-3
<base-config>:
2002-09-13 04:55:05: + base-config                     1.41
2002-10-20 04:55:02: + base-config                     1.43
2002-11-11 04:55:02: + base-config                     1.44
2003-01-02 04:55:02: + base-config                     1.49

Doesn't solve your problem now, but will in future instances of it.

Cheers,

-- 
Carlos Sousa
http://vbc.dyndns.org/



Reply to: