Package: node-http-proxy-agent
Version: 7.0.0~0~2023071921-1
Severity: serious
User: debian...@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

Attachment: node-https-proxy-agent=5.0.1+~cs8.0.0-3_node-http-proxy-agent=7.0.0~0~2023071921-1.log.gz
Description: application/gzip

Reply via email to