Package: bash-completion,debian-goodies Version: 1:2.7-1 Severity: important File: /usr/share/bash-completion/completions/debian-goodies.pkgnames Usertags: regression
The recent upgrade of bash-completion broke completion of package names
in the which-pkg-broke command from debian-goodies. It looks like the
completion file is not getting loaded, but works when it is loaded.
~ $ mkdir foo ; cd foo
~/foo $ touch {1..100}
~/foo $ which-pkg-broke
Display all 100 possibilities? (y or n)
1 11 14 17 2 22 25 28 30 33 36 39 41 44 47 5
52 55 58 60 63 66 69 71 74 77 8 82 85 88 90 93
96 99
10 12 15 18 20 23 26 29 31 34 37 4 42 45 48 50
53 56 59 61 64 67 7 72 75 78 80 83 86 89 91 94
97
100 13 16 19 21 24 27 3 32 35 38 40 43 46 49 51
54 57 6 62 65 68 70 73 76 79 81 84 87 9 92 95
98
~/foo $ complete | grep which-pkg-broke
~/foo $ set | grep _pkg_names
~/foo $ . /usr/share/bash-completion/completions/debian-goodies.pkgnames
~/foo $ which-pkg-broke
Display all 2060 possibilities? (y or n)
~/foo $ which-pkg-broke foo
foobillardplus foodcritic fookb-plainx
foomatic-db foomatic-db-engine-dbgsym
foomatic-filters-dbgsym
foobillardplus-data fookb fookb-wmaker
foomatic-db-compressed-ppds foomatic-filters foo-yc20
foobillardplus-dbgsym fookb-dbgsym fookebox
foomatic-db-engine foomatic-filters-beh foo-yc20-dbgsym
~/foo $ complete | grep which-pkg-broke
complete -F _pkg_names which-pkg-broke
$ set | grep _pkg_names
_pkg_names ()
-- System Information:
Debian Release: buster/sid
APT prefers testing-debug
APT policy: (900, 'testing-debug'), (900, 'testing'), (800,
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700,
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8),
LANGUAGE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-- no debconf information
--
bye,
pabs
https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part

