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

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


Package: node-snapdragon-util
Version: 5.0.1-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-util_5.0.1-2_all.deb ...
  Unpacking node-snapdragon-util (5.0.1-2) ...
  dpkg: error processing archive /var/cache/apt/archives/node-snapdragon-util_5.0.1-2_all.deb (--unpack):
   trying to overwrite '/usr/share/nodejs/snapdragon-util/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-util_5.0.1-2_all.deb


cheers,

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


More information about the Pkg-javascript-devel mailing list