Bug#888555: clang-tools: fails to upgrade from 'sid' - trying to overwrite /usr/share/man/man1/clang-apply-replacements.1.gz

Andreas Beckmann anbe at debian.org
Sat Jan 27 02:05:19 UTC 2018


Package: clang-tools
Version: 1:5.0-41~exp2
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/#overwriting-files-and-replacing-packages-replaces

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

  Selecting previously unselected package clang-tools.
  Preparing to unpack .../clang-tools_1%3a5.0-41~exp2_amd64.deb ...
  Unpacking clang-tools (1:5.0-41~exp2) ...
  dpkg: error processing archive /var/cache/apt/archives/clang-tools_1%3a5.0-41~exp2_amd64.deb (--unpack):
   trying to overwrite '/usr/share/man/man1/clang-apply-replacements.1.gz', which is also in package clang 1:4.0-40
  Errors were encountered while processing:
   /var/cache/apt/archives/clang-tools_1%3a5.0-41~exp2_amd64.deb

Full list of conflicting files:

usr/share/man/man1/clang-apply-replacements.1.gz
usr/share/man/man1/clang-check.1.gz
usr/share/man/man1/clang-query.1.gz
usr/share/man/man1/sancov.1.gz
usr/share/man/man1/scan-build.1.gz
usr/share/man/man1/scan-view.1.gz


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang=1%4.0-40_clang-tools=1%5.0-41~exp2.log.gz
Type: application/gzip
Size: 11283 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20180127/6d080059/attachment.bin>


More information about the Pkg-llvm-team mailing list