[Pkg-javascript-devel] Bug#1018767: node-sockjs: missing Breaks+Replaces: libjs-sockjs (<< 0.3.24)

Andreas Beckmann anbe at debian.org
Tue Aug 30 14:27:23 BST 2022


Package: node-sockjs
Version: 0.3.24+~0.3.33-3
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
'bullseye'.
It installed fine in 'bullseye', then the upgrade to 'bookworm' 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-sockjs_0.3.24+~0.3.33-3_all.deb ...
  Unpacking node-sockjs (0.3.24+~0.3.33-3) ...
  dpkg: error processing archive /var/cache/apt/archives/node-sockjs_0.3.24+~0.3.33-3_all.deb (--unpack):
   trying to overwrite '/usr/share/javascript/sockjs/sockjs.js', which is also in package libjs-sockjs 0.3.4+dfsg-2
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/node-sockjs_0.3.24+~0.3.33-3_all.deb

Can src:sockjs-client (which built the old libjs-sockjs) be removed from
sid?


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libjs-sockjs=0.3.4+dfsg-2_node-sockjs=0.3.24+~0.3.33-3.log.gz
Type: application/gzip
Size: 8030 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220830/c59ca10c/attachment.gz>


More information about the Pkg-javascript-devel mailing list