[Pkg-zsh-devel] Bug#807906: zsh-common: Command completion broken since aptitude 0.7.5

Micha Moskovic michamos at gmail.com
Mon Dec 14 11:59:05 UTC 2015


Package: zsh-common
Version: 5.2-2
Severity: normal

Dear Maintainer,

since updating aptitude to version 0.7.5-1, the command completion for aptitude
is broken.
Pressing tab after writing aptitude on the command line has the following
result:

$ aptitude <Tab>
 -- no matches found --

while it would print the list of available commands in previous version of
aptitude.
Note that option completion ($ aptitude -<Tab>) and package completion ($
aptitude install <Tab>) still work.
I believe that this is due to one of the following changes in aptitude 0.7.5-1
(from the changelog)

    - User visible changes:
      * [cmdline] Minor improvements to help (Closes: #497136)
      * [cmdline] Hide Show-Why reasons when the string is empty
        (Closes: #576584)
      * [cmdline] Slightly improve and reformat --help
      * [cmdline] Document add/remove-user-tag in --help

given that the output of 'aptitude -h' is parsed in order to provide the
command completions.
Line 83 of Completion/Debian/Command/_aptitude probably needs to be modified in
order to account for those recent changes in aptitude.



-- Package-specific info:

Packages which provide vendor completions:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                  Version                 Architecture            Description
+++-=====================================-=======================-=======================-================================================================================
ii  mpv                                   0.12.0-1                amd64                   video player based on MPlayer/mplayer2
ii  pulseaudio                            7.1-2                   amd64                   PulseAudio sound server
ii  systemd                               228-2                   amd64                   system and service manager
ii  udev                                  228-2                   amd64                   /dev/ and hotplug management daemon
ii  vlc-nox                               2.2.1-5+b1              amd64                   multimedia player and streamer (without X support)

dpkg-query: no path found matching pattern /usr/share/zsh/vendor-functions/


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages zsh-common depends on:
ii  dpkg  1.18.3

Versions of packages zsh-common recommends:
ii  zsh  5.2-2

Versions of packages zsh-common suggests:
pn  zsh-doc  <none>

-- no debconf information



More information about the Pkg-zsh-devel mailing list