On Fri, Feb 27, 2004 at 10:47:41AM +0000, Jeremy Sowden wrote:
> > Note that the package name is truncated with "dpkg -l"
> > (cf. dpkg-query...).
> </snip>
> 
> The truncation can be remedied.  I tend to use:
> 
>     COLUMNS=150 dpkg -l 'kernel-*' | awk '$1 ~ /ii/ { print $0 }'
> 
> to check what I've got installed.

These will give you just the name lists:

        apt-cache pkgnames
        dpkg --get-selections

but not the version info. Useful in some 
circumstances.

-- 
------------------------------------------------------
   Dale Amon     [EMAIL PROTECTED]    +44-7802-188325
       International linux systems consultancy
     Hardware & software system design, security
    and networking, systems programming and Admin
              "Have Laptop, Will Travel"
------------------------------------------------------

Reply via email to