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

Re: dates of install for pkgs



Jörg-Volker Peetz <jvpeetz@web.de> writes:

> So, something like
>
> (cd /var/lib/dpkg/info;  ls -l *.list \
>  | while read a b c d mm dd ty nm; do echo "$mm $dd $ty ${nm%.list}"; done)
>
> could give a starting point for a list of installation dates.
> For the removed packages this, obviously, does not work :-(

That is a nice jump-start... thanks.

And just at a causual test of

    grep  'zlib1g ' dpkg*
(last line of output from /var/log/dpkg.log.1

 [...]
 
 2011-09-29 13:58:53 status installed zlib1g 1:1.2.3.4.dfsg-3

And last line of your nifty suggestion:

  [...]
  218 Sep 29 08:58 zlib1g

The times disagree but the day and month are the same.  And I think the
time might reflect a 5 hr shift from greenwitch mean time or something


Reply to: