[Pkg-javascript-devel] Bug#1014739: node-parse5-*: missing Breaks+Replaces: node-jsdom (<< 20.0.0+repack1~)

Andreas Beckmann anbe at debian.org
Mon Jul 11 03:16:12 BST 2022


Source: node-parse5
Version: 7.0.0+dfsg-4
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'testing'.
It installed fine in 'testing', then the upgrade to 'sid' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces

The Breaks+Replaces are needed in all binary packages built from
src:node-parse5

>From the attached log (scroll to the bottom...):

  Preparing to unpack .../node-parse5-html-rewriting-stream_7.0.0+dfsg-4_all.deb ...
  Unpacking node-parse5-html-rewriting-stream (7.0.0+dfsg-4) ...
  dpkg: error processing archive /var/cache/apt/archives/node-parse5-html-rewriting-stream_7.0.0+dfsg-4_all.deb (--unpack):
   trying to overwrite '/usr/share/nodejs/parse5-html-rewriting-stream/dist/index.d.ts', which is also in package node-jsdom 20.0.0+~cs119.22.37-3
  Errors were encountered while processing:
   /var/cache/apt/archives/node-parse5-html-rewriting-stream_7.0.0+dfsg-4_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-jsdom=20.0.0+~cs119.22.37-3_node-parse5-html-rewriting-stream=7.0.0+dfsg-4.log.gz
Type: application/gzip
Size: 13356 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220711/7129a1b9/attachment.gz>


More information about the Pkg-javascript-devel mailing list