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

Daniel Shahaf d.s at daniel.shahaf.name
Thu Jun 4 04:47:19 BST 2020


Vincent Lefevre wrote on Wed, 03 Jun 2020 18:02 +0200:
> 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.

Axel did not say that _dpkg's behaviour was correct.

Axel only said that _dpkg was behaving as designed.

Furthermore, in the snipped context Axel agreed that it would be
good to have _dpkg modified to behave as per your proposal.

> "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.



More information about the Pkg-zsh-devel mailing list