[Pkg-zsh-devel] Bug#962133: Bug#962133: zsh-common: missing package in "dpkg -s" completion

Axel Beckert abe at debian.org
Wed Jun 3 16:45:11 BST 2020


Control: severity -1 wishlist
Control: tag -1 + upstream

Hi Vincent,

Vincent Lefevre wrote:
> Actually there's another one:
> 
> zira:~> dpkg -l | grep '^rc'
> rc  openntpd                                   1:6.0p1-1                       amd64        OpenBSD NTP daemon

All packages shown as "rc" by dpkg on my system seem _not_ to be
installed but are usually removed, but not purged. Example:

→ dpkg -l snapper
[...]
rc  snapper        0.8.1-1      amd64        Linux filesystem snapshot management tool
→ aptitude show snapper
Package: snapper
Version: 0.8.9-1+b1
State: not installed (configuration files remain)
[...]
→ dpkg -s sn<Tab>
completing package
snetz      sniffglue  snooze     snowdrop   sntop    

>From the design of the current implementation (only show installed
packages for "dpkg -s" completion) it is correct that "dpkg -s"
doesn't complete these packages.

But it seems a valid point that especially the "dpkg -s" completion
also completes packages where only configuration files remain.

So from my point of view, this is a valid feature request for
upstream. Marking it as such.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the Pkg-zsh-devel mailing list