Re: installation date
hi ya carlos
On Sun, 19 Jan 2003, Jan Willem Stumpel wrote:
> 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.
and i also keep a (backup) copy of all the binaries and config files
so that if its been modified, i can quickly restore that one file
( production boxes should NOT change too often...
( except when "allowed" to be updated and a new checksum is created
c ya
alvin
> > 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.
>
Reply to: