[Pkg-javascript-devel] Bug#1034924: node-strip-eof: missing Breaks+Replaces for node-execa when upgrading from bullseye

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


Package: node-strip-eof
Version: 3.0.0-4
Severity: serious
Justification: dpkg unpack error

Attempting to unpack node-strip-eof/3.0.0-4 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/strip-final-newline/index.js being contained in both packages.

| Selecting previously unselected package node-strip-eof.
| dpkg: considering deconfiguration of node-execa, which would be broken by installation of node-strip-eof ...
| dpkg: yes, will deconfigure node-execa (broken by node-strip-eof)
| (Reading database ... 4965 files and directories currently installed.)
| Preparing to unpack .../node-strip-eof_3.0.0-4_all.deb ...
| De-configuring node-execa (4.1.0+dfsg+~cs19.3.6-5) ...
| Unpacking node-strip-eof (3.0.0-4) ...
| dpkg: error processing archive ./node-strip-eof_3.0.0-4_all.deb (--unpack):
|  trying to overwrite '/usr/share/nodejs/strip-final-newline/index.js', which is also in package node-execa 4.1.0+dfsg+~cs19.3.6-5
| Errors were encountered while processing:
|  ./node-strip-eof_3.0.0-4_all.deb


Please ensure that node-strip-eof has sufficient Breaks and Replaces declarations.

Helmut



More information about the Pkg-javascript-devel mailing list