Bug#934016: clangd-8: missing Breaks+Replaces: clang-tools-8 (<< 1:8.0.1)

Andreas Beckmann anbe at debian.org
Tue Aug 6 07:09:27 BST 2019


Package: clangd-8
Version: 1:8.0.1-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
'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 .../clangd-8_1%3a8.0.1-1_amd64.deb ...
  Unpacking clangd-8 (1:8.0.1-1) ...
  dpkg: error processing archive /var/cache/apt/archives/clangd-8_1%3a8.0.1-1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/llvm-8/bin/clangd', which is also in package clang-tools-8 1:8.0.1~+rc4-1
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/clangd-8_1%3a8.0.1-1_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-tools-8=1:8.0.1~+rc4-1_clangd-8=1:8.0.1-1.log.gz
Type: application/gzip
Size: 11309 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20190806/b2c6b86d/attachment.gz>


More information about the Pkg-llvm-team mailing list