Bug#802456: clang-tidy-3.6: fails to upgrade from 'testing' - trying to overwrite /usr/lib/llvm-3.6/bin/clang-tidy

Andreas Beckmann anbe at debian.org
Tue Oct 20 09:42:50 UTC 2015


Package: clang-tidy-3.6
Version: 1:3.6.2-2
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-2_amd64.deb ...
  Unpacking clang-tidy-3.6 (1:3.6.2-2) ...
  dpkg: error processing archive /var/cache/apt/archives/clang-tidy-3.6_1%3a3.6.2-2_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/llvm-3.6/bin/clang-tidy', which is also in package clang-3.6 1:3.6.2-1
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/clang-tidy-3.6_1%3a3.6.2-2_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-3.6=1%3.6.2-1_clang-tidy-3.6=1%3.6.2-2.log.gz
Type: application/gzip
Size: 19766 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20151020/09f36a99/attachment-0001.bin>


More information about the Pkg-llvm-team mailing list