Package: node-cosmiconfig
Version: 7.0.0+~cs8.3.2-1
Severity: serious
User: debian...@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).

cheers,

Andreas

Attachment: jest=26.6.3+ds+~cs64.28.30-1_node-cosmiconfig=7.0.0+~cs8.3.2-1.log.gz
Description: application/gzip

Reply via email to