[Pkg-javascript-devel] Bug#996427: node-mermaid: ships a copy of /usr/share/nodejs/crypto-random-string/*, already in node-crypto-random-string

Andreas Beckmann anbe at debian.org
Wed Oct 13 22:36:03 BST 2021


Package: node-mermaid
Version: 8.13.2+ds+~cs30.13.21-1
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
'stable'.
It installed fine in 'stable', 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

This test intentionally skipped 'testing' to find file overwrite
problems before packages migrate from 'unstable' to 'testing'.

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

  Preparing to unpack .../node-mermaid_8.13.2+ds+~cs30.13.21-1_all.deb ...
  Unpacking node-mermaid (8.13.2+ds+~cs30.13.21-1) ...
  dpkg: error processing archive /var/cache/apt/archives/node-mermaid_8.13.2+ds+~cs30.13.21-1_all.deb (--unpack):
   trying to overwrite '/usr/share/nodejs/crypto-random-string/index.d.ts', which is also in package node-crypto-random-string 3.3.0-1
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/node-mermaid_8.13.2+ds+~cs30.13.21-1_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-crypto-random-string=3.3.0-1_node-mermaid=8.13.2+ds+~cs30.13.21-1.log.gz
Type: application/gzip
Size: 9012 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20211013/36ffb225/attachment.gz>


More information about the Pkg-javascript-devel mailing list