Bug#903866: python-{clang, lldb}-4.0: missing Breaks+Replaces against python-clang-3.[45], python-lldb-3.5
Andreas Beckmann
anbe at debian.org
Sun Jul 15 23:49:27 BST 2018
Package: python-clang-4.0,python-lldb-4.0
Version: 1:4.0.1-10~deb9u2
Severity: serious
Tags: stretch
User: debian-qa at lists.debian.org
Usertags: piuparts
Hi,
during a test with piuparts I noticed your package fails to upgrade from
'jessie'.
It installed fine in 'jessie', then the upgrade to 'stretch' 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...):
Preparing to unpack .../python-clang-4.0_1%3a4.0.1-10~deb9u2_amd64.deb ...
Unpacking python-clang-4.0 (1:4.0.1-10~deb9u2) ...
dpkg: error processing archive /var/cache/apt/archives/python-clang-4.0_1%3a4.0.1-10~deb9u2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python2.7/dist-packages/clang/__init__.py', which is also in package python-clang-3.4 1:3.4.2-13
Errors were encountered while processing:
/var/cache/apt/archives/python-clang-4.0_1%3a4.0.1-10~deb9u2_amd64.deb
Preparing to unpack .../python-clang-4.0_1%3a4.0.1-10~deb9u2_amd64.deb ...
Unpacking python-clang-4.0 (1:4.0.1-10~deb9u2) ...
dpkg: error processing archive /var/cache/apt/archives/python-clang-4.0_1%3a4.0.1-10~deb9u2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python2.7/dist-packages/clang/__init__.py', which is also in package python-clang-3.5 1:3.5-10
Errors were encountered while processing:
/var/cache/apt/archives/python-clang-4.0_1%3a4.0.1-10~deb9u2_amd64.deb
Selecting previously unselected package python-lldb-4.0.
Preparing to unpack .../python-lldb-4.0_1%3a4.0.1-10~deb9u2_amd64.deb ...
Unpacking python-lldb-4.0 (1:4.0.1-10~deb9u2) ...
dpkg: error processing archive /var/cache/apt/archives/python-lldb-4.0_1%3a4.0.1-10~deb9u2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python2.7/dist-packages/lldb', which is also in package python-lldb-3.5 1:3.5-10
The inclusion of llvm-4.0 in stretch brought it into proximity of the
old packages from jessie (that predate the virtual python-{clang,lldb}-x.y
packages), which might remain after an upgrade from jessie to stretch.
cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-clang-3.4=1%3.4.2-13_python-clang-4.0=1%4.0.1-10~deb9u2.log.gz
Type: application/gzip
Size: 8933 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-llvm-team/attachments/20180716/4ea8e5de/attachment.gz>
More information about the Pkg-llvm-team
mailing list