[Pkg-javascript-devel] Bug#1034984: node-parse5-htmlparser2-tree-adapter: missing Breaks+Replaces for node-cheerio when upgrading from bullseye

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


Package: node-parse5-htmlparser2-tree-adapter
Version: 7.1.2+dfsg-1
Severity: serious
Justification: dpkg unpack error

Attempting to unpack node-parse5-htmlparser2-tree-adapter/7.1.2+dfsg-1 from Debian bookworm
on a minimal Debian bullseye with node-cheerio/1.0.0~rc~5+~cs6.1.2-4
installed, causes an unpack error from dpkg due to
/usr/share/nodejs/parse5-htmlparser2-tree-adapter/package.json being contained in both packages.

| Selecting previously unselected package node-parse5-htmlparser2-tree-adapter.
| dpkg: considering deconfiguration of node-jsdom, which would be broken by installation of node-parse5-htmlparser2-tree-adapter ...
| dpkg: yes, will deconfigure node-jsdom (broken by node-parse5-htmlparser2-tree-adapter)
| (Reading database ... 7213 files and directories currently installed.)
| Preparing to unpack .../node-parse5-htmlparser2-tree-adapter_7.1.2+dfsg-1_all.deb ...
| De-configuring node-jsdom (16.4.0+~cs77.17.35-3) ...
| Unpacking node-parse5-htmlparser2-tree-adapter (7.1.2+dfsg-1) ...
| dpkg: error processing archive ./node-parse5-htmlparser2-tree-adapter_7.1.2+dfsg-1_all.deb (--unpack):
|  trying to overwrite '/usr/share/nodejs/parse5-htmlparser2-tree-adapter/package.json', which is also in package node-cheerio 1.0.0~rc~5+~cs6.1.2-4
| Errors were encountered while processing:
|  ./node-parse5-htmlparser2-tree-adapter_7.1.2+dfsg-1_all.deb


Please ensure that node-parse5-htmlparser2-tree-adapter has sufficient Breaks and Replaces declarations.

Helmut



More information about the Pkg-javascript-devel mailing list