[Pkg-javascript-devel] Bug#974594: node-snapdragon-node: missing Breaks+Replaces: node-snapdragon (<= 0.12.0+repack-2)

Andreas Beckmann anbe at debian.org
Thu Nov 12 19:47:19 GMT 2020


Package: node-snapdragon-node
Version: 3.0.0-2
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

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

  Preparing to unpack .../node-snapdragon-node_3.0.0-2_all.deb ...
  Unpacking node-snapdragon-node (3.0.0-2) ...
  dpkg: error processing archive /var/cache/apt/archives/node-snapdragon-node_3.0.0-2_all.deb (--unpack):
   trying to overwrite '/usr/share/nodejs/snapdragon-node/index.js', which is also in package node-snapdragon 0.12.0+repack-2
  Errors were encountered while processing:
   /var/cache/apt/archives/node-snapdragon-node_3.0.0-2_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-snapdragon=0.12.0+repack-2_node-snapdragon-node=3.0.0-2.log.gz
Type: application/gzip
Size: 15403 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20201112/5b757911/attachment.gz>


More information about the Pkg-javascript-devel mailing list