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

Andreas Beckmann anbe at debian.org
Mon Sep 2 17:08:53 BST 2019


Package: clangd
Version: 1:8.0-48
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_1%3a8.0-48_amd64.deb ...
  Unpacking clangd (1:8.0-48) ...
  dpkg: error processing archive /var/cache/apt/archives/clangd_1%3a8.0-48_amd64.deb (--unpack):
   trying to overwrite '/usr/bin/clangd', which is also in package clang-tools 1:7.0-47.1
  Errors were encountered while processing:
   /var/cache/apt/archives/clangd_1%3a8.0-48_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-tools=1:7.0-47.1_clangd=1:8.0-48.log.gz
Type: application/gzip
Size: 11335 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20190902/6e02ef3b/attachment-0001.gz>


More information about the Pkg-llvm-team mailing list