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

Vincent Lefevre vincent at vinc17.net
Wed Jun 3 17:02:39 BST 2020


On 2020-06-03 17:45:11 +0200, Axel Beckert wrote:
> 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:

They are not installed, but are valid candidates for "dpkg -s"
arguments.

> From the design of the current implementation (only show installed
> packages for "dpkg -s" completion)

Currently this is: installed and not marked to be uninstalled
(or to be purged).

> it is correct that "dpkg -s" doesn't complete these packages.

This is not correct. "dpkg -s" should complete to any valid
argument, i.e. for which package information is available
(thus this excludes purged packages). This is a real bug.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Pkg-zsh-devel mailing list