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

> (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 :-(

Another quickie take on getting info from /var/lib/dpkg/info

ls -l *.list |awk '{{sub(/\.list$/,"")}\
    printf " %7s %s %3s %4s %s\n", $5, $6, $7, $8, $9}'

Then manipulate output with ls switches.


Reply to: