[Pkg-javascript-devel] Bug#1014737: node-react: missing Breaks+Replaces: node-react (<< 18)
Andreas Beckmann
anbe at debian.org
Mon Jul 11 03:05:31 BST 2022
Source: node-react
Version: 18.1.0~18.2.0+dfsg+~cs87.31.26-1
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
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.
This error may also be triggered by having a predecessor package from
'sid 'installed while installing the package from 'experimental'.
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-react-is_18.1.0~18.2.0+dfsg+~cs87.31.26-1_all.deb ...
Unpacking node-react-is (18.1.0~18.2.0+dfsg+~cs87.31.26-1) ...
dpkg: error processing archive /var/cache/apt/archives/node-react-is_18.1.0~18.2.0+dfsg+~cs87.31.26-1_all.deb (--unpack):
trying to overwrite '/usr/share/nodejs/@types/react-is/index.d.ts', which is also in package node-react 17.0.2+dfsg+~cs106.66.62-1
Errors were encountered while processing:
/var/cache/apt/archives/node-react-is_18.1.0~18.2.0+dfsg+~cs87.31.26-1_all.deb
The Breaks+Replaces are missing in all the recently split out packages.
cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-react=17.0.2+dfsg+~cs106.66.62-1_node-react-is=18.1.0~18.2.0+dfsg+~cs87.31.26-1.log.gz
Type: application/gzip
Size: 15547 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220711/6b48af56/attachment.gz>
More information about the Pkg-javascript-devel
mailing list