[Pkg-javascript-devel] Bug#1035000: node-core-js-pure: missing Breaks+Replaces for node-core-js when upgrading from bullseye

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


Package: node-core-js-pure
Version: 3.26.1-1
Severity: serious
Justification: dpkg unpack error

Attempting to unpack node-core-js-pure/3.26.1-1 from Debian bookworm
on a minimal Debian bullseye with node-core-js/3.8.2-2
installed, causes an unpack error from dpkg due to
/usr/share/nodejs/core-js-pure/configurator.js being contained in both packages.

| Selecting previously unselected package node-core-js-pure.
| dpkg: considering deconfiguration of node-core-js, which would be broken by installation of node-core-js-pure ...
| dpkg: yes, will deconfigure node-core-js (broken by node-core-js-pure)
| (Reading database ... 7666 files and directories currently installed.)
| Preparing to unpack .../node-core-js-pure_3.26.1-1_all.deb ...
| De-configuring node-core-js (3.8.2-2) ...
| Unpacking node-core-js-pure (3.26.1-1) ...
| dpkg: error processing archive ./node-core-js-pure_3.26.1-1_all.deb (--unpack):
|  trying to overwrite '/usr/share/nodejs/core-js-pure/configurator.js', which is also in package node-core-js 3.8.2-2
| dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
| Errors were encountered while processing:
|  ./node-core-js-pure_3.26.1-1_all.deb


Please ensure that node-core-js-pure has sufficient Breaks and Replaces declarations.

Helmut



More information about the Pkg-javascript-devel mailing list