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

Re: installation date



Carlos Sousa wrote:

> 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:
> [..]

An ingenious idea...

In the meantime I found another trick which works if you use
apt-get, and do not clean the cache very often:

   ls -lt --time=use /var/cache/apt/archives|less

The --time=use gives the time when the archives were last used,
i.e. installed, instead of the date there were packaged.

Regards, Jan




Reply to: