[Pkg-javascript-devel] Bug#1043519: node-json-stable-stringify, node-fast-json-stable-stringify: same files packaged twice?
Andreas Beckmann
anbe at debian.org
Sat Aug 12 12:50:32 BST 2023
Package: node-json-stable-stringify,node-fast-json-stable-stringify
Severity: serious
Tags: sid trixie
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: found -1 1.0.2+~cs5.2.34-1
Control: found -1 2.1.0-1
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
In case of shared library packages where the conflicting files do not
contain the SOVERSION in their name or path, please also consider
alternative solutions for solving the conflict and avoiding
Breaks+Replaces for easier upgrades in the future. Ideally shared
libraries of different SOVERSIONs should only contain non-conflicting
files and thus be co-installable for smooth upgrades.
>From the attached log (scroll to the bottom...):
Selecting previously unselected package node-fast-json-stable-stringify.
Preparing to unpack .../node-fast-json-stable-stringify_2.1.0-1_all.deb ...
Unpacking node-fast-json-stable-stringify (2.1.0-1) ...
dpkg: error processing archive /var/cache/apt/archives/node-fast-json-stable-stringify_2.1.0-1_all.deb (--unpack):
trying to overwrite '/usr/share/doc/node-fast-json-stable-stringify/README.md', which is also in package node-json-stable-stringify 1.0.2+~cs5.2.34-1
Errors were encountered while processing:
/var/cache/apt/archives/node-fast-json-stable-stringify_2.1.0-1_all.deb
The following files are part of both packages:
usr/share/doc/node-fast-json-stable-stringify/README.md
usr/share/doc/node-fast-json-stable-stringify/copyright
usr/share/nodejs/fast-json-stable-stringify/index.d.ts
usr/share/nodejs/fast-json-stable-stringify/index.js
usr/share/nodejs/fast-json-stable-stringify/package.json
Is that same software packaged twice under different names?
Why does node-json-stable-stringify (w/o fast) ship
/usr/share/doc/node-fast-json-stable-stringify/copyright
(with fast) ?
cheers,
andreas
More information about the Pkg-javascript-devel
mailing list