[Pkg-javascript-devel] Bug#940511: yarnpkg: Package symlink yarn -> yarnpkg

Melvin Vermeeren vermeeren at posteo.net
Mon Sep 16 15:02:47 BST 2019


Package: yarnpkg
Version: 1.13.0-1
Severity: normal

Upstream calls the binary itself yarn as yarnpkg appears to have been
deprecated. Packaging as yarnpkg for backwards-compatibility is understandable,
though I believe a symlink yarn -> yarnpkg should be added as tools and scripts
nowadays typically check only for yarn.

For example a problem occurs when installing GitLab from source, it only checks
for yarn during the rake task and complains it cannot be found. A local symlink
/usr/local/bin/yarn -> /usr/bin/yarnpkg resolved the issue.

(Alternatively, perhaps make yarn the primary installation and symlink the
legacy yarnpkg -> yarn.)

Thanks.

-- System Information:
Debian Release: 10.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-6-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages yarnpkg depends on:
pn  node-asap                          <none>
pn  node-babel-runtime                 <none>
pn  node-bytes                         <none>
pn  node-camelcase                     <none>
pn  node-chalk                         <none>
pn  node-chownr                        <none>
pn  node-ci-info                       <none>
pn  node-cli-table                     <none>
pn  node-commander                     <none>
pn  node-death                         <none>
pn  node-debug                         <none>
pn  node-deep-equal                    <none>
pn  node-detect-indent                 <none>
pn  node-duplexify                     <none>
pn  node-emoji                         <none>
pn  node-fast-levenshtein              <none>
pn  node-glob                          <none>
pn  node-imports-loader                <none>
pn  node-ini                           <none>
pn  node-inquirer                      <none>
pn  node-invariant                     <none>
pn  node-is-builtin-module             <none>
pn  node-loud-rejection                <none>
pn  node-micromatch                    <none>
pn  node-minimatch                     <none>
pn  node-mkdirp                        <none>
pn  node-node-uuid                     <none>
pn  node-object-path                   <none>
pn  node-proper-lockfile               <none>
pn  node-puka                          <none>
pn  node-pump                          <none>
pn  node-pumpify                       <none>
pn  node-read                          <none>
pn  node-request                       <none>
pn  node-request-capture-har           <none>
pn  node-resolve                       <none>
pn  node-rimraf                        <none>
pn  node-semver                        <none>
pn  node-ssri                          <none>
pn  node-strip-ansi                    <none>
pn  node-strip-bom                     <none>
pn  node-tar-stream                    <none>
pn  node-validate-npm-package-license  <none>
pn  node-yn                            <none>
ii  nodejs                             10.15.2~dfsg-2

yarnpkg recommends no packages.

yarnpkg suggests no packages.



More information about the Pkg-javascript-devel mailing list