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

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


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

Attempting to unpack node-core-js-bundle/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-bundle/package.json being contained in both packages.

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


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

Helmut



More information about the Pkg-javascript-devel mailing list