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

Jonas Smedegaard jonas at jones.dk
Tue Dec 8 09:04:13 GMT 2020


Quoting Xavier (2020-12-08 09:44:00)
> 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"

7.0.0+~cs8.3.2-1 is higher than 2.26.3+repack~

...because 3.2 is higher than 3+

...because + means "just above" so beats only nothing or 0.


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

Possibly, but because they are intertwined that migration may be held 
back too (not sure, I just suggest to play it safe by correcting this 
real issue in node-cosmiconfig even if onyl shortlived - but obviously 
we can wait a day to see if it fixes itself...).


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20201208/2849ff24/attachment.sig>


More information about the Pkg-javascript-devel mailing list