[Pkg-javascript-devel] Bug#1035008: node-jest-worker: missing Breaks+Replaces for jest when upgrading from bullseye

Helmut Grohne helmut at subdivi.de
Thu Apr 27 13:59:53 BST 2023


Package: node-jest-worker
Version: 29.3.1~ds1+~cs70.48.25-1
Severity: serious
Justification: dpkg unpack error

Attempting to unpack node-jest-worker/29.3.1~ds1+~cs70.48.25-1 from Debian bookworm
on a minimal Debian bullseye with jest/26.6.3+repack+~cs64.44.39-3
installed, causes an unpack error from dpkg due to
/usr/share/nodejs/@jest/types/build/Circus.d.ts being contained in both packages.

| dpkg: considering deconfiguration of jest, which would be broken by installation of node-jest-worker ...
| dpkg: yes, will deconfigure jest (broken by node-jest-worker)
| (Reading database ... 21294 files and directories currently installed.)
| Preparing to unpack .../node-jest-worker_29.3.1~ds1+~cs70.48.25-1_all.deb ...
| De-configuring jest (26.6.3+repack+~cs64.44.39-3) ...
| Unpacking node-jest-worker (29.3.1~ds1+~cs70.48.25-1) over (26.6.3+repack+~cs64.44.39-3) ...
| dpkg: error processing archive ./node-jest-worker_29.3.1~ds1+~cs70.48.25-1_all.deb (--unpack):
|  trying to overwrite '/usr/share/nodejs/@jest/types/build/Circus.d.ts', which is also in package jest 26.6.3+repack+~cs64.44.39-3
| Errors were encountered while processing:
|  ./node-jest-worker_29.3.1~ds1+~cs70.48.25-1_all.deb


Please ensure that node-jest-worker has sufficient Breaks and Replaces declarations.

Helmut



More information about the Pkg-javascript-devel mailing list