[Pkg-javascript-devel] Bug#976813: Bug#976813: node-cosmiconfig: missing Breaks+Replaces: jest (<< 26.6.3+repack)

Xavier yadd at debian.org
Tue Dec 8 08:44:00 GMT 2020


Le 08/12/2020 à 09:37, Andreas Beckmann a écrit :
> Package: node-cosmiconfig
> Version: 7.0.0+~cs8.3.2-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
> 'testing'.
> It installed fine in 'testing', 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-cosmiconfig_7.0.0+~cs8.3.2-1_all.deb ...
>   Unpacking node-cosmiconfig (7.0.0+~cs8.3.2-1) ...
>   dpkg: error processing archive /var/cache/apt/archives/node-cosmiconfig_7.0.0+~cs8.3.2-1_all.deb (--unpack):
>    trying to overwrite '/usr/share/nodejs/callsites/index.d.ts', which is also in package jest 26.6.3+ds+~cs64.28.30-1
>   Errors were encountered while processing:
>    /var/cache/apt/archives/node-cosmiconfig_7.0.0+~cs8.3.2-1_all.deb
> 
> There is currently
> 
>   Breaks: jest (<< 2.26.3+repack~), node-jest-debbundle (<< 2.26.3+repack~)
> 
> which looks like a typoed version (2 times?), while the corresponding
> changelog entry has the correct version.
> But you also need matching Replaces to properly move files between packages
> (the Breaks alone could also be satisfied by simply deconfiguring jest).

Hi,

what is wrong in "Breaks: jest (<< 2.26.3+repack~), node-jest-debbundle
(<< 2.26.3+repack~)" ? Jest version in unstable is
"26.6.3+repack+~cs61.38.31-1"

It seems that jest will migrate tomorrow to testing, then this bug
should be fixed automatically

Cheers,
Xavier



More information about the Pkg-javascript-devel mailing list