Bug#146289: dpkg --list does not print packages sometimes
Package: dpkg
Version: 1.9.20
Severity: important
`dpkg -l regexp' does not correctly print all the packages in the Debian
server which match the regexp.
For example:
eminescu:~$ dpkg -l gnu\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
un gnu-standards <none> (no description available)
ii gnugo 3.2-1 Plays the game of Go (Wei-Chi).
ii gnumeric 1.0.6-1 A GNOME spreadsheet application
un gnumeric-doc <none> (no description available)
un gnumeric-gda <none> (no description available)
un gnumeric-pytho <none> (no description available)
un gnupg <none> (no description available)
un gnupg-doc <none> (no description available)
ii gnuplot 3.7.2-4 A command-line driven interactive plotting p
un gnuserv <none> (no description available)
un gnutls <none> (no description available)
Another example:
eminescu:~$ dpkg -l gnuc\*
No packages found matching gnuc*.
However, the gnuchess package, for example, exists!
I use this method to find out if a package mathing a regexp exists or not.
In previous versions of dpkg (the one of the stable version, 1.6.15),
this bug does not appear.
Eugen
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux eminescu 2.4.18-686 #1 Sun Apr 14 11:32:47 EST 2002 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages dpkg depends on:
ii libc6 2.2.5-4 GNU C Library: Shared libraries an
ii libncurses5 5.2.20020112a-7 Shared libraries for terminal hand
ii libstdc++2.10-glibc2.2 1:2.95.4-7 The GNU stdc++ library
--
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: