[Pkg-zsh-devel] Bug#890711: zsh-common: Missing Depends on zsh

Dima Kogan dkogan at debian.org
Sat Feb 17 20:58:23 UTC 2018


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

Hi. Currently zsh-common has no Depends on any zsh, which causes
problems. During an upgrade I ended up in this situation:

 $ dpkg -l | grep zsh
 ii  zsh                             4.3.17-1                         amd64        shell with lots of features
 ii  zsh-common                      5.4.2-3                          all          architecture independent files for Zsh

My .zshrc contains

 autoload -Uz compinit
 compinit
 compdef -d make

And together I get weird errors any time I press TAB to invoke
completion:

 $ ls [pressed TAB]
 (eval):setopt:3: no such option: localpatterns
 (eval):setopt:3: no such option: NO_warnnestedvar

This is because here zsh-common was massively newer than zsh. We can add

 Depends: zsh (= ${binary:Version})

to the zsh-common definition. Is this too strong?



More information about the Pkg-zsh-devel mailing list