[Pkg-javascript-devel] Bug#1036942: node-babel7: missing Breaks+Replaces: node-babel-code-frame (<< 7)

Andreas Beckmann anbe at debian.org
Tue May 30 08:50:01 BST 2023


Package: node-babel7
Version: 7.20.15+ds1+~cs214.269.168-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: affects -1 + node-babel-eslint

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'buster' to 'bullseye' to 'bookworm'.
It installed fine in 'buster', and upgraded to 'bullseye' successfully,
but then the upgrade to 'bullseye' failed
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 the package was not part of an intermediate stable release,
the version from the preceding stable release was kept installed.

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

  Preparing to unpack .../027-node-babel7_7.20.15+ds1+~cs214.269.168-2_all.deb ...
  Unpacking node-babel7 (7.20.15+ds1+~cs214.269.168-2) over (7.12.12+~cs150.141.84-6) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-mHzAfl/027-node-babel7_7.20.15+ds1+~cs214.269.168-2_all.deb (--unpack):
   trying to overwrite '/usr/share/doc/node-babel-code-frame/README.md', which is also in package node-babel-code-frame 6.26.0+dfsg-3

node-babel-code-frame (last released as a separate package in buster)
survived the upgrade to bullseye without problems, but causes problems
during the subsequent upgrade to bookworm.

cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-babel-eslint_None.log.gz
Type: application/gzip
Size: 64380 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20230530/e0d4e57e/attachment.gz>


More information about the Pkg-javascript-devel mailing list