[Pkg-javascript-devel] Bug#979551: node-babel7: update-alternatives set up fails

Paolo Greppi paolo.greppi at libpf.com
Fri Jan 8 07:46:36 GMT 2021


Package: node-babel7
Version: 7.12.11+~cs150.141.84-3
Severity: important

Dear Maintainer,

installing node-babel7 on official debian "bullseye-slim" docker image fails like this:

docker pull debian:bullseye-slim
docker run --rm -it debian:bullseye-slim
apt update && apt install -y --no-install-recommends yarnpkg
...
Setting up node-babel7 (7.12.11+~cs150.141.84-3) ...
update-alternatives: using /usr/bin/babeljs-7 to provide /usr/bin/babeljs (babeljs) in auto mode
update-alternatives: using /usr/bin/babeljs-7-external-helpers to provide /usr/bin/babeljs-external-helpers (babeljs-external-helpers) in auto mode
update-alternatives: using /usr/bin/babeljs-7-node to provide /usr/bin/babeljs-node (babeljs-node) in auto mode
update-alternatives: using /usr/bin/babeljs-7-parser to provide /usr/bin/babeljs-parser (babeljs-parser) in auto mode
update-alternatives: error: alternative path /usr/share/man/man1/babeljs-7.1.gz doesn't exist
dpkg: error processing package node-babel7 (--configure):
  installed node-babel7 package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of yarnpkg:
  yarnpkg depends on node-babel7; however:
   Package node-babel7 is not configured yet.

dpkg: error processing package yarnpkg (--configure):
  dependency problems - leaving unconfigured

I guess that's because the bullseye-slim image lacks the manpages.

BTW, why is node-babel7 a run-time dependency of yarnpkg ?
Should it not just be a build-dep ?

Paolo

-- System Information:
Debian Release: bullseye/sid
   APT prefers testing
   APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-4-amd64 (SMP w/12 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages node-babel7 depends on:
ii  node-browserslist           4.16.0+~cs5.4.69-1
ii  node-chalk                  4.1.0-1
ii  node-commander              6.2.1-2
ii  node-convert-source-map     1.7.0+~1.5.1-1
ii  node-core-js                3.8.1-1
ii  node-debug                  4.3.1+~cs4.1.5-1
ii  node-esutils                2.0.3-1
ii  node-find-cache-dir         3.3.1-1
ii  node-fs-readdir-recursive   1.1.0-1
ii  node-glob                   7.1.6+~7.1.3-1
ii  node-globals                13.5.0-1
ii  node-js-tokens              6.0.0-1
ii  node-jsesc                  3.0.2-1
ii  node-json5                  2.1.3-2
ii  node-lodash                 4.17.20+dfsg+~cs8.31.170-1
ii  node-make-dir               3.0.2-1
ii  node-quick-lru              1.1.0-2
ii  node-regenerator-runtime    0.13.7-1
ii  node-regenerator-transform  0.14.5-4
ii  node-regexpu-core           4.7.1-1
ii  node-resolve                1.19.0+~cs5.20.8-2
ii  node-semver                 7.3.4-1
ii  node-slash                  3.0.0-1
ii  node-source-map             0.7.0++dfsg2+really.0.6.1-4
ii  node-source-map-support     0.5.19+ds+~0.5.3-1
ii  node-to-fast-properties     3.0.1-1
ii  node-v8flags                3.2.0-1
ii  nodejs                      12.19.0~dfsg-1

node-babel7 recommends no packages.

node-babel7 suggests no packages.

-- no debconf information



More information about the Pkg-javascript-devel mailing list