[Pkg-javascript-devel] Bug#1035008: Bug#1035008: node-jest-worker: missing Breaks+Replaces for jest when upgrading from bullseye
Helmut Grohne
helmut at subdivi.de
Thu Apr 27 19:56:01 BST 2023
On Thu, Apr 27, 2023 at 10:03:00PM +0400, Yadd wrote:
> node-jest-worker has already
>
> Breaks: jest (<< 29.1.2~ds1+~cs70.47.21-1~)
>
> how it is possible to have this issue ?
Breaks prevents both packages from being configured concurrently, so
installing node-jest-worker will cause jest to be deconfigured (and
later removed). However the packages can still be unpacked concurrently.
To avoid concurrent unpacks, one can use Conflicts instead of Breaks,
but this makes upgrades more difficult for apt. Instead, you should add
Replaces: jest (<< ...) to tell apt that during such a concurrent
unpack, node-jest-worker is allowed to "steal" files from jest. This is
detailed in policy section 7.6. Hope it helps.
Helmut
More information about the Pkg-javascript-devel
mailing list