Bug#1145405: node-cacache: Ships a file that's also shipped by the `npm' package

Gunnar Wolf <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <178758884000.951632.10510632045056351107.reportbug__38959.777918511$1787589317$gmane$org@mosca.iiec.unam.mx>
Package: node-cacache
Version: 20.0.4+~cs30.1.8-3
Severity: grave
Justification: renders package unusable

Hello,

While updating my sid system, I got the following error message from dpkg:

    Preparing to unpack …/archives/npm_11.19.0-1_all.deb…
    Unpacking npm (11.19.0-1) over (11.16.0+ds2-4)…
    dpkg: error processing archive /var/cache/apt/archives/npm_11.19.0-1_all.deb (--unpack):
     trying to overwrite '/usr/share/nodejs/@npmcli/fs/lib/common/get-options.js', which is also in package node-cacache (20.0.4+~cs30.1.8-3)
    Errors were encountered while processing:
     /var/cache/apt/archives/npm_11.19.0-1_all.deb

While the message was given for npm, due to the file location, AFAICT the
file should be owned by npm, and the bug would be in node-cacache — but I
might be mistaken here, please reassign if deemed necessary!

Thanks,

 — Gunnar.

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

Kernel: Linux 7.1.8+deb14.1-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages node-cacache depends on:
ii  node-chownr                       3.0.0-4
ii  node-glob                         13.0.6+~cs0.4.15-2
ii  node-graceful-fs                  4.2.11-4
ii  node-lru-cache                    11.2.7-7
ii  node-minipass [node-fs-minipass]  7.1.3+~cs21.1.8-4
ii  node-mkdirp                       3.0.1+~cs5.2.1-4
ii  node-move-concurrently            1.0.1-8
ii  node-p-map                        4.0.0+~3.1.0+~3.0.1-2
ii  node-promise-inflight             1.0.1+~1.0.3-1
ii  node-rimraf                       6.1.3-2
ii  node-semver                       7.7.4+~cs9.7.4-2
ii  node-ssri                         9.0.1-6
ii  node-unique-filename              6.0.0+~cs7.0.0-5

node-cacache recommends no packages.

node-cacache suggests no packages.

-- no debconf information
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.