[Pkg-javascript-devel] Bug#1055862: node-http-proxy-agent: missing Breaks+Replaces: node-https-proxy-agent (<< 7)

Andreas Beckmann anbe at debian.org
Mon Nov 13 01:55:29 GMT 2023


Package: node-http-proxy-agent
Version: 7.0.0~0~2023071921-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-http-proxy-agent_7.0.0~0~2023071921-1_all.deb ...
  Unpacking node-http-proxy-agent (7.0.0~0~2023071921-1) ...
  dpkg: error processing archive /var/cache/apt/archives/node-http-proxy-agent_7.0.0~0~2023071921-1_all.deb (--unpack):
   trying to overwrite '/usr/share/nodejs/http-proxy-agent/dist/index.d.ts', which is also in package node-https-proxy-agent 5.0.1+~cs8.0.0-3
  Errors were encountered while processing:
   /var/cache/apt/archives/node-http-proxy-agent_7.0.0~0~2023071921-1_all.deb

The following files have moved to a new package:

usr/share/nodejs/http-proxy-agent/dist/index.d.ts
usr/share/nodejs/http-proxy-agent/dist/index.js
usr/share/nodejs/http-proxy-agent/dist/index.js.map
usr/share/nodejs/http-proxy-agent/package.json


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-https-proxy-agent=5.0.1+~cs8.0.0-3_node-http-proxy-agent=7.0.0~0~2023071921-1.log.gz
Type: application/gzip
Size: 9692 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20231113/1efba774/attachment.gz>


More information about the Pkg-javascript-devel mailing list