Bug#700711: clang-3.2: fails to upgrade from 'sid' - trying to overwrite /usr/bin/clang

Andreas Beckmann anbe at debian.org
Sat Feb 16 14:16:58 UTC 2013


Package: clang-3.2,clang
Version: 1:3.2-1~exp6
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
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

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

  Selecting previously unselected package clang-3.2.
  Unpacking clang-3.2 (from .../clang-3.2_1%3a3.2-1~exp6_amd64.deb) ...
  dpkg: error processing /var/cache/apt/archives/clang-3.2_1%3a3.2-1~exp6_amd64.deb (--unpack):
   trying to overwrite '/usr/bin/clang', which is also in package clang 1:3.0-6.1
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Preparing to replace clang 1:3.0-6.1 (using .../clang_1%3a3.2-1~exp6_all.deb) ...
  Unpacking replacement clang ...


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang_1:3.2-1~exp6.log.gz
Type: application/x-gzip
Size: 12629 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20130216/3f592dad/attachment.bin>


More information about the Pkg-llvm-team mailing list