Bug#762902: python-lldb-3.4 and lldb-3.3: error when trying to install together
Ralf Treinen
treinen at free.fr
Fri Sep 26 06:49:50 UTC 2014
Package: lldb-3.3,python-lldb-3.4
Version: lldb-3.3/1:3.3-16
Version: python-lldb-3.4/1:3.4.2-9
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite
Date: 2014-09-26
Architecture: amd64
Distribution: sid
Hi,
automatic installation tests of packages that share a file and at the
same time do not conflict by their package dependency relationships has
detected the following problem:
Selecting previously unselected package libdb5.3:amd64.
(Reading database ... 10877 files and directories currently installed.)
Preparing to unpack .../libdb5.3_5.3.28-6_amd64.deb ...
Unpacking libdb5.3:amd64 (5.3.28-6) ...
Selecting previously unselected package libbsd0:amd64.
Preparing to unpack .../libbsd0_0.7.0-2_amd64.deb ...
Unpacking libbsd0:amd64 (0.7.0-2) ...
Selecting previously unselected package libedit2:amd64.
Preparing to unpack .../libedit2_3.1-20140620-2_amd64.deb ...
Unpacking libedit2:amd64 (3.1-20140620-2) ...
Selecting previously unselected package libgmp10:amd64.
Preparing to unpack .../libgmp10_2%3a6.0.0+dfsg-6_amd64.deb ...
Unpacking libgmp10:amd64 (2:6.0.0+dfsg-6) ...
Selecting previously unselected package libisl10:amd64.
Preparing to unpack .../libisl10_0.12.2-2_amd64.deb ...
Unpacking libisl10:amd64 (0.12.2-2) ...
Selecting previously unselected package libcloog-isl4:amd64.
Preparing to unpack .../libcloog-isl4_0.18.2-1_amd64.deb ...
Unpacking libcloog-isl4:amd64 (0.18.2-1) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.1.0-6_amd64.deb ...
Unpacking libexpat1:amd64 (2.1.0-6) ...
Selecting previously unselected package libffi6:amd64.
Preparing to unpack .../libffi6_3.1-2_amd64.deb ...
Unpacking libffi6:amd64 (3.1-2) ...
Selecting previously unselected package libllvm3.3:amd64.
Preparing to unpack .../libllvm3.3_1%3a3.3-16_amd64.deb ...
Unpacking libllvm3.3:amd64 (1:3.3-16) ...
Selecting previously unselected package libpython2.7-minimal:amd64.
Preparing to unpack .../libpython2.7-minimal_2.7.8-7_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.8-7) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.56_all.deb ...
Unpacking mime-support (3.56) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../libpython2.7-stdlib_2.7.8-7_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.8-7) ...
Selecting previously unselected package libpython2.7:amd64.
Preparing to unpack .../libpython2.7_2.7.8-7_amd64.deb ...
Unpacking libpython2.7:amd64 (2.7.8-7) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.8-7_amd64.deb ...
Unpacking python2.7-minimal (2.7.8-7) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.8-7_amd64.deb ...
Unpacking python2.7 (2.7.8-7) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.8-1_amd64.deb ...
Unpacking python-minimal (2.7.8-1) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../libpython-stdlib_2.7.8-1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.8-1) ...
Selecting previously unselected package python.
Preparing to unpack .../python_2.7.8-1_amd64.deb ...
Unpacking python (2.7.8-1) ...
Selecting previously unselected package libjsoncpp0.
Preparing to unpack .../libjsoncpp0_0.6.0~rc2-3_amd64.deb ...
Unpacking libjsoncpp0 (0.6.0~rc2-3) ...
Selecting previously unselected package libffi-dev:amd64.
Preparing to unpack .../libffi-dev_3.1-2_amd64.deb ...
Unpacking libffi-dev:amd64 (3.1-2) ...
Selecting previously unselected package binfmt-support.
Preparing to unpack .../binfmt-support_2.1.5-1_amd64.deb ...
Unpacking binfmt-support (2.1.5-1) ...
Selecting previously unselected package llvm-3.3-runtime.
Preparing to unpack .../llvm-3.3-runtime_1%3a3.3-16_amd64.deb ...
Unpacking llvm-3.3-runtime (1:3.3-16) ...
Selecting previously unselected package llvm-3.3.
Preparing to unpack .../llvm-3.3_1%3a3.3-16_amd64.deb ...
Unpacking llvm-3.3 (1:3.3-16) ...
Selecting previously unselected package llvm-3.3-dev.
Preparing to unpack .../llvm-3.3-dev_1%3a3.3-16_amd64.deb ...
Unpacking llvm-3.3-dev (1:3.3-16) ...
Selecting previously unselected package lldb-3.3.
Preparing to unpack .../lldb-3.3_1%3a3.3-16_amd64.deb ...
Unpacking lldb-3.3 (1:3.3-16) ...
Selecting previously unselected package python-lldb-3.4.
Preparing to unpack .../python-lldb-3.4_1%3a3.4.2-9_amd64.deb ...
Unpacking python-lldb-3.4 (1:3.4.2-9) ...
dpkg: error processing archive /var/cache/apt/archives/python-lldb-3.4_1%3a3.4.2-9_amd64.deb (--unpack):
trying to overwrite '/usr/lib/python2.7/dist-packages/lldb/utils/symbolication.py', which is also in package lldb-3.3 1:3.3-16
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.7.0.1-1) ...
Processing triggers for install-info (5.2.0.dfsg.1-4) ...
Errors were encountered while processing:
/var/cache/apt/archives/python-lldb-3.4_1%3a3.4.2-9_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
This is a serious bug as it makes installation fail, and violates
sections 7.6.1 and 10.1 of the policy. An optimal solution would
consist in only one of the packages installing that file, and renaming
or removing the file in the other package. Depending on the
circumstances you might also consider Replace relations or file
diversions. If the conflicting situation cannot be resolved then, as a
last resort, the two packages have to declare a mutual
Conflict. Please take into account that Replaces, Conflicts and
diversions should only be used when packages provide different
implementations for the same functionality.
Here is a list of files that are known to be shared by both packages
(according to the Contents file for sid/amd64, which may be
slightly out of sync):
/usr/lib/python2.7/dist-packages/lldb/__init__.py
/usr/lib/python2.7/dist-packages/lldb/embedded_interpreter.py
/usr/lib/python2.7/dist-packages/lldb/formatters/Logger.py
/usr/lib/python2.7/dist-packages/lldb/formatters/__init__.py
/usr/lib/python2.7/dist-packages/lldb/formatters/attrib_fromdict.py
/usr/lib/python2.7/dist-packages/lldb/formatters/cache.py
/usr/lib/python2.7/dist-packages/lldb/formatters/cpp/__init__.py
/usr/lib/python2.7/dist-packages/lldb/formatters/cpp/gnu_libstdcpp.py
/usr/lib/python2.7/dist-packages/lldb/formatters/cpp/libcxx.py
/usr/lib/python2.7/dist-packages/lldb/formatters/metrics.py
/usr/lib/python2.7/dist-packages/lldb/runtime/__init__.py
/usr/lib/python2.7/dist-packages/lldb/utils/__init__.py
/usr/lib/python2.7/dist-packages/lldb/utils/symbolication.py
This bug has been filed against both packages. If you, the maintainers of
the two packages in question, have agreed on which of the packages will
resolve the problem please reassign the bug to that package. You may then
also register in the BTS that the other package is affected by the bug.
-Ralf.
PS: for more information about the detection of file overwrite errors
of this kind see http://edos.debian.net/file-overwrites/.
More information about the Pkg-llvm-team
mailing list