Re: Is there an apt-get install log?
Gary Turner wrote:
> On Wed, 07 Aug 2002 23:47:44 -0600, Bob Proulx wrote:
>
> <snip>
> >[...]
> >> 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, could you cite an example of the name being cut off? Worst case
> I've found is that a few letters of the description are lost. The
> package name and version have always been complete. (So far as I've
> noticed.)
It's time to stop using dpkg -l if you want to get full package names or get
data to process further.
dpkg-query -W --showformat '${Status} ${Package} ${Version}\n' | grep installed
--
see shy jo
Reply to: