[Pkg-javascript-devel] Bug#917217: npm breaks other packages' bash-completion

Ralf Jung post at ralfj.de
Mon Dec 24 09:33:48 GMT 2018


Package: npm
Version: 5.8.0+ds6-2
Severity: critical
Justification: breaks unrelated software

Dear Maintainer,

installing npm breaks bash-completion for other packages, for example dd.  You
can reproduce this by typing "dd if=", typing the beginning of a filename and
then hitting "Tab".  Now the "if=" gets removed from before the filename.  The
cause for this is the following line in /etc/bash-completion.d/npm:

COMP_WORDBREAKS=${COMP_WORDBREAKS/=/}

Please remove that line, or otherwise stop breaking unrelated packages.

Kind regards,
Ralf

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages npm depends on:
ii  ca-certificates                 20170717
ii  node-abbrev                     1.1.1-1
ii  node-ansi                       0.3.0-2
ii  node-ansi-regex                 3.0.0-1
ii  node-ansistyles                 0.1.3-1
ii  node-aproba                     1.2.0-1
ii  node-archy                      1.0.0-1
ii  node-bluebird                   3.5.1+dfsg2-2
ii  node-boxen                      1.2.2-1
ii  node-cacache                    10.0.4-1
ii  node-call-limit                 1.1.0-1
ii  node-chownr                     1.1.1-1
ii  node-config-chain               1.1.11-1
ii  node-detect-indent              5.0.0-1
ii  node-detect-newline             2.1.0-1
ii  node-editor                     1.0.0-1
ii  node-encoding                   0.1.12-2
ii  node-errno                      0.1.4-1
ii  node-from2                      2.3.0-1
ii  node-fs-vacuum                  1.2.10-2
ii  node-fs-write-stream-atomic     1.0.10-4
ii  node-glob                       7.1.3-1
ii  node-graceful-fs                4.1.11-1
ii  node-gyp                        3.8.0-1
ii  node-has-unicode                2.0.1-2
ii  node-hosted-git-info            2.7.1-1
ii  node-iferr                      1.0.2-1
ii  node-import-lazy                3.0.0.REALLY.2.1.0-1
ii  node-inflight                   1.0.6-1
ii  node-inherits                   2.0.3-1
ii  node-ini                        1.3.5-1
ii  node-is-npm                     1.0.0-1
ii  node-json-parse-better-errors   1.0.2-2
ii  node-jsonstream                 1.3.2-1
ii  node-latest-version             3.1.0-1
ii  node-lazy-property              1.0.0-3
ii  node-libnpx                     10.2.0-2
ii  node-lockfile                   1.0.4-1
ii  node-lru-cache                  4.1.1-2
ii  node-mississippi                3.0.0-1
ii  node-mkdirp                     0.5.1-1
ii  node-move-concurrently          1.0.1-2
ii  node-nopt                       3.0.6-3
ii  node-normalize-package-data     2.4.0-1
ii  node-npm-package-arg            6.0.0-2
ii  node-npmlog                     4.1.2-1
ii  node-once                       1.4.0-2
ii  node-opener                     1.4.3-1
ii  node-osenv                      0.1.5-1
ii  node-path-is-inside             1.0.2-1
ii  node-promise-inflight           1.0.1-1
ii  node-promzard                   0.3.0-1
ii  node-qw                         1.0.1-1
ii  node-read                       1.0.7-1
ii  node-read-package-json          2.0.13-1
ii  node-request                    2.88.1-2
ii  node-resolve-from               4.0.0-1
ii  node-retry                      0.10.1-1
ii  node-rimraf                     2.6.2-1
ii  node-safe-buffer                5.1.2-1
ii  node-semver                     5.5.1-1
ii  node-semver-diff                2.1.0-2
ii  node-sha                        2.0.1-1
ii  node-slide                      1.1.6-2
ii  node-sorted-object              2.0.1-1
ii  node-ssri                       5.2.4-2
ii  node-stream-iterate             1.2.0-4
ii  node-strip-ansi                 4.0.0-1
ii  node-tar                        4.4.6+ds1-3
ii  node-text-table                 0.2.0-2
ii  node-uid-number                 0.0.6-1
ii  node-unique-filename            1.1.0+ds-2
ii  node-unpipe                     1.0.0-1
ii  node-validate-npm-package-name  3.0.0-1
ii  node-which                      1.3.0-2
ii  node-wrappy                     1.0.2-1
ii  node-write-file-atomic          2.3.0-1
ii  node-xdg-basedir                3.0.0-1
ii  nodejs                          8.11.2~dfsg-1

npm recommends no packages.

npm suggests no packages.

-- Configuration Files:
/etc/bash_completion.d/npm [Errno 2] No such file or directory: '/etc/bash_completion.d/npm'

-- no debconf information



More information about the Pkg-javascript-devel mailing list