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 <vinc...@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)

Reply via email to