[Pkg-javascript-devel] Bug#1034945: node-npm-run-path: missing Breaks+Replaces for node-execa when upgrading from bullseye

Helmut Grohne helmut at subdivi.de
Thu Apr 27 13:59:48 BST 2023


Package: node-npm-run-path
Version: 5.1.0+~4.0.0-7
Severity: serious
Justification: dpkg unpack error

Attempting to unpack node-npm-run-path/5.1.0+~4.0.0-7 from Debian bookworm
on a minimal Debian bullseye with node-execa/4.1.0+dfsg+~cs19.3.6-5
installed, causes an unpack error from dpkg due to
/usr/share/nodejs/path-key/index.d.ts being contained in both packages.

| dpkg: considering deconfiguration of node-execa, which would be broken by installation of node-npm-run-path ...
| dpkg: yes, will deconfigure node-execa (broken by node-npm-run-path)
| (Reading database ... 4965 files and directories currently installed.)
| Preparing to unpack .../node-npm-run-path_5.1.0+~4.0.0-7_all.deb ...
| De-configuring node-execa (4.1.0+dfsg+~cs19.3.6-5) ...
| Unpacking node-npm-run-path (5.1.0+~4.0.0-7) over (2.0.2-2) ...
| dpkg: error processing archive ./node-npm-run-path_5.1.0+~4.0.0-7_all.deb (--unpack):
|  trying to overwrite '/usr/share/nodejs/path-key/index.d.ts', which is also in package node-execa 4.1.0+dfsg+~cs19.3.6-5
| Errors were encountered while processing:
|  ./node-npm-run-path_5.1.0+~4.0.0-7_all.deb


Please ensure that node-npm-run-path has sufficient Breaks and Replaces declarations.

Helmut



More information about the Pkg-javascript-devel mailing list