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

Re: Is there an apt-get install log?



> >But he's also asking for the install date.  Me, as soon as I
> >complete a set of installs/removes, I do a:
> >COLUMNS=120 dpkg -l > /root/dpkg/dpkg.installed.`date +%y%m%d.%H%M`
> >
> >Then, I can diff to see what was installed when.  Crude yet effective.
> >
> Here's a little script I run after each install, upgrade, or removal.
[...]
> COLUMNS=120 dpkg -l | grep "^i" | cut -b 5- > pkgs_woody.current

Hmm...  'dpkg -l' will truncate the name if it is too big for the
field.  Is there a way to get the entire name?  Something similar to
--get-selections but including the version like --list?

Bob

Attachment: pgpsxhOoD6Ki3.pgp
Description: PGP signature


Reply to: