[Pkg-javascript-devel] Bug#993566: yarnpkg: Support the --immutable flag, like yarn from npm does

Dima Tisnek dimaqq at gmail.com
Fri Sep 3 08:49:35 BST 2021


Package: yarnpkg
Version: 1.22.10+~cs22.25.14-3
Severity: normal
X-Debbugs-Cc: dimaqq at gmail.com

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Install `yarnpkg` from the debian repo, and contrast it with `yarn` from
npm, ostensibly same version:

apt-get update
apt-get install --yes npm yarnpkg
npm install -g yarn at 1.22.10

root at 82211373c576:/# yarnpkg install --immutable
error: unknown option '--immutable'

root at 82211373c576:/# yarn install --immutable
yarn install v1.22.10
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.91s.


As a work-around, classical flag (to be deprecated in yarn at 2) works:

root at 82211373c576:/# yarnpkg install --frozen-lockfile
yarn install v1.22.10
[1/4] Resolving packages...
success Already up-to-date.
Done in 3.08s.


*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 11.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.47-linuxkit (SMP w/1 CPU thread)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_RANDSTRUCT
Locale: LANG=C.UTF-8, 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 yarnpkg depends on:
ii  ca-certificates                    20210119
ii  node-asap                          2.0.6-2
ii  node-babel7-runtime                7.12.12+~cs150.141.84-6
ii  node-bytes                         3.1.0-1
ii  node-camelcase                     6.2.0-2
ii  node-chalk                         4.1.0-1
ii  node-chownr                        1.1.3-5
ii  node-ci-info                       2.0.0+~2.0.0-2
ii  node-cli-table                     0.3.1-2
ii  node-commander                     6.2.1-2
ii  node-death                         1.1.0-1
ii  node-debug                         4.3.1+~cs4.1.5-1
ii  node-deep-equal                    1.0.1-2
ii  node-detect-indent                 6.0.0-1
ii  node-duplexify                     4.1.1-1
ii  node-emoji                         1.10.0-1
ii  node-fast-levenshtein              2.0.6+ds-2
ii  node-glob                          7.1.6+~7.1.3-1
ii  node-imports-loader                0.8.0-2
ii  node-ini                           2.0.0-1
ii  node-inquirer                      3.3.0-3
ii  node-invariant                     2.2.4-1
ii  node-is-builtin-module             3.0.0-1
ii  node-js-yaml                       3.14.1+dfsg+~3.12.6-2
ii  node-loud-rejection                2.2.0-1
ii  node-micromatch                    4.0.2+repack+~4.0.1-1
ii  node-minimatch                     3.0.4+~3.0.3-1
ii  node-mkdirp                        1.0.4+~1.0.1-1
ii  node-object-path                   0.11.5-3
ii  node-path-root                     0.1.1-1.1
ii  node-prepend-http                  3.0.1-1
ii  node-proper-lockfile               4.1.1-2
ii  node-puka                          1.0.1+dfsg-2
ii  node-pump                          3.0.0-4
ii  node-pumpify                       2.0.1-1
ii  node-read                          1.0.7-2
ii  node-request                       2.88.1-5
ii  node-request-capture-har           1.2.2-1.1
ii  node-resolve                       1.19.0+~cs5.20.8-2
ii  node-rimraf                        3.0.2-1
ii  node-semver                        7.3.4-1
ii  node-sort-keys                     2.0.0-2
ii  node-ssri                          8.0.1-2
ii  node-strict-uri-encode             2.0.0-1.1
ii  node-strip-ansi                    6.0.0-2
ii  node-strip-bom                     4.0.0-1
ii  node-tar-stream                    2.1.4+~cs3.1.0-1
ii  node-uuid                          8.3.2+~8.3.0-4
ii  node-validate-npm-package-license  3.0.4-1
ii  node-yn                            4.0.0-1
ii  nodejs                             12.22.5~dfsg-2~11u1

yarnpkg recommends no packages.

yarnpkg suggests no packages.

-- no debconf information



More information about the Pkg-javascript-devel mailing list