Bug#803558: clang-tidy: fails to upgrade from 'testing' - trying to overwrite /usr/bin/clang-tidy

Andreas Beckmann anbe at debian.org
Sat Oct 31 12:19:56 UTC 2015


Package: clang-tidy
Version: 1:3.6-31
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#s-replaces

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package clang-tidy-3.6.
  Preparing to unpack .../clang-tidy-3.6_1%3a3.6.2-3_amd64.deb ...
  Unpacking clang-tidy-3.6 (1:3.6.2-3) ...
  Selecting previously unselected package clang-tidy.
  Preparing to unpack .../clang-tidy_1%3a3.6-31_amd64.deb ...
  Unpacking clang-tidy (1:3.6-31) ...
  dpkg: error processing archive /var/cache/apt/archives/clang-tidy_1%3a3.6-31_amd64.deb (--unpack):
   trying to overwrite '/usr/bin/clang-tidy', which is also in package clang 1:3.5-26
  Errors were encountered while processing:
   /var/cache/apt/archives/clang-tidy_1%3a3.6-31_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang=1%3.5-26_clang-tidy=1%3.6-31.log.gz
Type: application/gzip
Size: 20141 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20151031/5db318f6/attachment-0001.bin>


More information about the Pkg-llvm-team mailing list