Bug#946473: llvm-9-tools: missing Breaks+Replaces: libclang-common-9-dev (<< 1:9.0.1~+rc2)

Andreas Beckmann anbe at debian.org
Mon Dec 9 17:08:12 GMT 2019


Package: llvm-9-tools
Version: 1:9.0.1~+rc2-1~exp1
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.

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 .../llvm-9-tools_1%3a9.0.1~+rc2-1~exp1_amd64.deb ...
  Unpacking llvm-9-tools (1:9.0.1~+rc2-1~exp1) ...
  dpkg: error processing archive /var/cache/apt/archives/llvm-9-tools_1%3a9.0.1~+rc2-1~exp1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/llvm-9/bin/yaml-bench', which is also in package libclang-common-9-dev 1:9.0.0-4
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/llvm-9-tools_1%3a9.0.1~+rc2-1~exp1_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libclang-common-9-dev=1:9.0.0-4_llvm-9-tools=1:9.0.1~+rc2-1~exp1.log.gz
Type: application/gzip
Size: 9662 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20191209/10383241/attachment-0001.gz>


More information about the Pkg-llvm-team mailing list