New Kubuntu User

Tycho Andersen tycho at tycho.ws
Tue Feb 3 17:54:12 UTC 2009


On Tue, Feb 3, 2009 at 4:19 AM, Alexander Smirnov
<alexander.v.smirnov at gmail.com> wrote:
> hey, dpkg -l shows only installed packages, not all available!

Just to clarify, he's right that dpkg -l does not know about any
packages which are not installed. The man page (for dpkg-query) is a
bit misleading, though:

-l, --list package-name-pattern...
     List  packages  matching  given pattern. If no
package-name-pattern is given, list all packages in
/var/lib/dpkg/status, excluding the ones marked with state purge. For
example this will list all package names starting with "libc6":
dpkg-query -l 'libc6*'

It seems like that should say "this will list all installed package
names starting with libc6".

Tycho




More information about the kubuntu-users mailing list