Package: lld
Version: 1:11.0-51+nmu2
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 .../lld_1%3a11.0-51+nmu2_amd64.deb ...
  Unpacking lld (1:11.0-51+nmu2) ...
  dpkg: error processing archive 
/var/cache/apt/archives/lld_1%3a11.0-51+nmu2_amd64.deb (--unpack):
   trying to overwrite '/usr/bin/wasm-ld', which is also in package llvm 
1:11.0-51+nmu1
  Errors were encountered while processing:
   /var/cache/apt/archives/lld_1%3a11.0-51+nmu2_amd64.deb

The existing

  Replaces: llvm (= 0.51+nmu1)
  Breaks: llvm (= 0.51+nmu1)

are versioned after the source version, not the binary version of the llvm 
binary package.


cheers,

Andreas

Attachment: llvm=1:11.0-51+nmu1_lld=1:11.0-51+nmu2.log.gz
Description: application/gzip

Reply via email to