[Pkg-javascript-devel] Bug#997998: node-acorn: missing Breaks+Replaces: node-debbundle-acorn (<< 8.5.0+ds+~cs24.17.6)

Andreas Beckmann anbe at debian.org
Thu Oct 28 13:24:11 BST 2021


Package: node-acorn
Version: 8.5.0+ds+~cs24.17.6-2
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

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

  Preparing to unpack .../node-acorn_8.5.0+ds+~cs24.17.6-2_all.deb ...
  Unpacking node-acorn (8.5.0+ds+~cs24.17.6-2) ...
  dpkg: error processing archive /var/cache/apt/archives/node-acorn_8.5.0+ds+~cs24.17.6-2_all.deb (--unpack):
   trying to overwrite '/usr/share/doc/node-acorn/README.md.gz', which is also in package node-debbundle-acorn 8.0.5+ds+~cs19.19.27-3
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/node-acorn_8.5.0+ds+~cs24.17.6-2_all.deb


The list of conflicting files:

usr/bin/acorn
usr/share/doc/node-acorn-loose/README.md
usr/share/doc/node-acorn-loose/changelog.Debian.gz
usr/share/doc/node-acorn-loose/copyright
usr/share/doc/node-acorn-walk/README.md.gz
usr/share/doc/node-acorn-walk/changelog.Debian.gz
usr/share/doc/node-acorn-walk/copyright
usr/share/doc/node-acorn/README.md.gz
usr/share/doc/node-acorn/changelog.Debian.gz
usr/share/doc/node-acorn/copyright
usr/share/man/man1/acorn.1.gz
usr/share/nodejs/acorn-bigint/index.js
usr/share/nodejs/acorn-bigint/package.json
usr/share/nodejs/acorn-bigint/run_test262.js
usr/share/nodejs/acorn-class-fields/index.js
usr/share/nodejs/acorn-class-fields/package.json
usr/share/nodejs/acorn-class-fields/run_test262.js
usr/share/nodejs/acorn-dynamic-import/lib/index.js
usr/share/nodejs/acorn-dynamic-import/lib/walk.js
usr/share/nodejs/acorn-dynamic-import/package.json
usr/share/nodejs/acorn-dynamic-import/src/index.js
usr/share/nodejs/acorn-dynamic-import/src/walk.js
usr/share/nodejs/acorn-export-ns-from/index.js
usr/share/nodejs/acorn-export-ns-from/package.json
usr/share/nodejs/acorn-export-ns-from/run_test262.js
...


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-debbundle-acorn=8.0.5+ds+~cs19.19.27-3_node-acorn=8.5.0+ds+~cs24.17.6-2.log.gz
Type: application/gzip
Size: 8402 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20211028/351a0c73/attachment.gz>


More information about the Pkg-javascript-devel mailing list