On 03 Nov 2018, Gabriel F. T. Gomes wrote:
>In order to understand the cause of this problem, I downloaded the
>source files for these packages, and noticed that they do *not* use
>`dh_bash-completion' to install their completions files. Instead, each
>of them use their own methods, and have the obsolete path hardcoded.
Apart from dkms, git, and grub2, for which I have already explained the
cause of the problem in message 83 [1], dlocate also has a problem that
bash-completion cannot fix, because the use of the obsolete directory
(/etc/bash_completion.d/) is hardcoded in upstream sources.
$ dget
http://http.debian.net/debian/pool/main/d/dlocate/dlocate_1.07+nmu1.dsc
$ grep -RnE completion dlocate-1.07+nmu1/
dlocate-1.07+nmu1/Makefile:16: install -m 644 dlocate-completion
$(DESTDIR)/etc/bash_completion.d/
Net, the only packages that have problems are dkms, dlocate, git, and
grub2. I'll open bugs for them, then close this bug report.
[1] https://bugs.debian.org/811496#83