[Pkg-javascript-devel] Bug#1036690: node-stylis: missing Breaks+Replaces: node-mermaid (<< 8.14.0+~cs11.4.14-2~)

Andreas Beckmann anbe at debian.org
Wed May 24 13:31:59 BST 2023


Package: node-stylis
Version: 4.1.3~11.10.7+ds1+~cs8.3.3-3
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install
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

  Selecting previously unselected package node-stylis.
  Preparing to unpack .../node-stylis_4.1.3~11.10.7+ds1+~cs8.3.3-3_all.deb ...
  Unpacking node-stylis (4.1.3~11.10.7+ds1+~cs8.3.3-3) ...
  dpkg: error processing archive /var/cache/apt/archives/node-stylis_4.1.3~11.10.7+ds1+~cs8.3.3-3_all.deb (--unpack):
   trying to overwrite '/usr/share/doc/node-stylis/README.md.gz', which is also in package node-mermaid 8.14.0+~cs11.4.14-1
  Errors were encountered while processing:
   /var/cache/apt/archives/node-stylis_4.1.3~11.10.7+ds1+~cs8.3.3-3_all.deb

8.14.0+~cs11.4.14-2 is a guess, assuming the next maintainer upload will
drop the copy of node-stylis from node-mermaid (#1036688).

The conflicting files are

usr/share/doc/node-stylis/README.md.gz
usr/share/doc/node-stylis/copyright
usr/share/nodejs/stylis/dist/stylis.mjs
usr/share/nodejs/stylis/dist/stylis.mjs.map
usr/share/nodejs/stylis/dist/umd/package.json
usr/share/nodejs/stylis/dist/umd/stylis.js
usr/share/nodejs/stylis/dist/umd/stylis.js.map
usr/share/nodejs/stylis/index.js
usr/share/nodejs/stylis/package.json
usr/share/nodejs/stylis/pkgjs-lock.json
usr/share/nodejs/stylis/src/Enum.js
usr/share/nodejs/stylis/src/Middleware.js
usr/share/nodejs/stylis/src/Parser.js
usr/share/nodejs/stylis/src/Prefixer.js
usr/share/nodejs/stylis/src/Serializer.js
usr/share/nodejs/stylis/src/Tokenizer.js
usr/share/nodejs/stylis/src/Utility.js


cheers,

Andreas



More information about the Pkg-javascript-devel mailing list