Bug#807014: ros-message-runtime and message-runtime: error when trying to install together
Ralf Treinen
treinen at free.fr
Fri Dec 4 08:00:20 UTC 2015
Package: message-runtime,ros-message-runtime
Version: message-runtime/0.4.12-1
Version: ros-message-runtime/0.4.12-2
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite
Date: 2015-12-04
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:
Extracting templates from packages: 51%
Extracting templates from packages: 100%
Selecting previously unselected package libffi6:amd64.
(Reading database ... 10929 files and directories currently installed.)
Preparing to unpack .../libffi6_3.2.1-3_amd64.deb ...
Unpacking libffi6:amd64 (3.2.1-3) ...
Selecting previously unselected package libgmp10:amd64.
Preparing to unpack .../libgmp10_2%3a6.1.0+dfsg-2_amd64.deb ...
Unpacking libgmp10:amd64 (2:6.1.0+dfsg-2) ...
Selecting previously unselected package libisl15:amd64.
Preparing to unpack .../libisl15_0.15-3_amd64.deb ...
Unpacking libisl15:amd64 (0.15-3) ...
Selecting previously unselected package libmpfr4:amd64.
Preparing to unpack .../libmpfr4_3.1.3-1_amd64.deb ...
Unpacking libmpfr4:amd64 (3.1.3-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../libmpc3_1.0.3-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.0.3-1) ...
Selecting previously unselected package gcc-5-base:amd64.
Preparing to unpack .../gcc-5-base_5.2.1-27_amd64.deb ...
Unpacking gcc-5-base:amd64 (5.2.1-27) ...
Processing triggers for libc-bin (2.21-3) ...
Setting up gcc-5-base:amd64 (5.2.1-27) ...
(Reading database ... 10970 files and directories currently installed.)
Preparing to unpack .../libgcc1_1%3a5.2.1-27_amd64.deb ...
Unpacking libgcc1:amd64 (1:5.2.1-27) over (1:4.8.2-19) ...
Processing triggers for libc-bin (2.21-3) ...
Setting up libgcc1:amd64 (1:5.2.1-27) ...
Processing triggers for libc-bin (2.21-3) ...
(Reading database ... 10970 files and directories currently installed.)
Preparing to unpack .../libstdc++6_5.2.1-27_amd64.deb ...
Unpacking libstdc++6:amd64 (5.2.1-27) over (4.8.2-19) ...
Processing triggers for libc-bin (2.21-3) ...
Setting up libstdc++6:amd64 (5.2.1-27) ...
Processing triggers for libc-bin (2.21-3) ...
Selecting previously unselected package binutils.
(Reading database ... 10984 files and directories currently installed.)
Preparing to unpack .../binutils_2.25.90.20151125-2_amd64.deb ...
Unpacking binutils (2.25.90.20151125-2) ...
Selecting previously unselected package cpp-5.
Preparing to unpack .../cpp-5_5.2.1-27_amd64.deb ...
Unpacking cpp-5 (5.2.1-27) ...
Selecting previously unselected package cpp.
Preparing to unpack .../cpp_4%3a5.2.1-8_amd64.deb ...
Unpacking cpp (4:5.2.1-8) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../libcc1-0_5.2.1-27_amd64.deb ...
Unpacking libcc1-0:amd64 (5.2.1-27) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../libgomp1_5.2.1-27_amd64.deb ...
Unpacking libgomp1:amd64 (5.2.1-27) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../libitm1_5.2.1-27_amd64.deb ...
Unpacking libitm1:amd64 (5.2.1-27) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../libatomic1_5.2.1-27_amd64.deb ...
Unpacking libatomic1:amd64 (5.2.1-27) ...
Selecting previously unselected package libasan2:amd64.
Preparing to unpack .../libasan2_5.2.1-27_amd64.deb ...
Unpacking libasan2:amd64 (5.2.1-27) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../liblsan0_5.2.1-27_amd64.deb ...
Unpacking liblsan0:amd64 (5.2.1-27) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../libtsan0_5.2.1-27_amd64.deb ...
Unpacking libtsan0:amd64 (5.2.1-27) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../libubsan0_5.2.1-27_amd64.deb ...
Unpacking libubsan0:amd64 (5.2.1-27) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../libcilkrts5_5.2.1-27_amd64.deb ...
Unpacking libcilkrts5:amd64 (5.2.1-27) ...
Selecting previously unselected package libmpx0:amd64.
Preparing to unpack .../libmpx0_5.2.1-27_amd64.deb ...
Unpacking libmpx0:amd64 (5.2.1-27) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../libquadmath0_5.2.1-27_amd64.deb ...
Unpacking libquadmath0:amd64 (5.2.1-27) ...
Selecting previously unselected package libgcc-5-dev:amd64.
Preparing to unpack .../libgcc-5-dev_5.2.1-27_amd64.deb ...
Unpacking libgcc-5-dev:amd64 (5.2.1-27) ...
Selecting previously unselected package gcc-5.
Preparing to unpack .../gcc-5_5.2.1-27_amd64.deb ...
Unpacking gcc-5 (5.2.1-27) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a5.2.1-8_amd64.deb ...
Unpacking gcc (4:5.2.1-8) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../libc-dev-bin_2.21-3_amd64.deb ...
Unpacking libc-dev-bin (2.21-3) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../linux-libc-dev_4.2.6-1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.2.6-1) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../libc6-dev_2.21-3_amd64.deb ...
Unpacking libc6-dev:amd64 (2.21-3) ...
Selecting previously unselected package libstdc++-5-dev:amd64.
Preparing to unpack .../libstdc++-5-dev_5.2.1-27_amd64.deb ...
Unpacking libstdc++-5-dev:amd64 (5.2.1-27) ...
Selecting previously unselected package g++-5.
Preparing to unpack .../g++-5_5.2.1-27_amd64.deb ...
Unpacking g++-5 (5.2.1-27) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a5.2.1-8_amd64.deb ...
Unpacking g++ (4:5.2.1-8) ...
Selecting previously unselected package libboost1.58-dev:amd64.
Preparing to unpack .../libboost1.58-dev_1.58.0+dfsg-4.1_amd64.deb ...
Unpacking libboost1.58-dev:amd64 (1.58.0+dfsg-4.1) ...
Selecting previously unselected package libboost-atomic1.58.0:amd64.
Preparing to unpack .../libboost-atomic1.58.0_1.58.0+dfsg-4.1_amd64.deb ...
Unpacking libboost-atomic1.58.0:amd64 (1.58.0+dfsg-4.1) ...
Selecting previously unselected package libboost-atomic1.58-dev:amd64.
Preparing to unpack .../libboost-atomic1.58-dev_1.58.0+dfsg-4.1_amd64.deb ...
Unpacking libboost-atomic1.58-dev:amd64 (1.58.0+dfsg-4.1) ...
Selecting previously unselected package libboost-system1.58.0:amd64.
Preparing to unpack .../libboost-system1.58.0_1.58.0+dfsg-4.1_amd64.deb ...
Unpacking libboost-system1.58.0:amd64 (1.58.0+dfsg-4.1) ...
Selecting previously unselected package libboost-chrono1.58.0:amd64.
Preparing to unpack .../libboost-chrono1.58.0_1.58.0+dfsg-4.1_amd64.deb ...
Unpacking libboost-chrono1.58.0:amd64 (1.58.0+dfsg-4.1) ...
Selecting previously unselected package libboost-chrono1.58-dev:amd64.
Preparing to unpack .../libboost-chrono1.58-dev_1.58.0+dfsg-4.1_amd64.deb ...
Unpacking libboost-chrono1.58-dev:amd64 (1.58.0+dfsg-4.1) ...
Selecting previously unselected package libboost-date-time1.58.0:amd64.
Preparing to unpack .../libboost-date-time1.58.0_1.58.0+dfsg-4.1_amd64.deb ...
Unpacking libboost-date-time1.58.0:amd64 (1.58.0+dfsg-4.1) ...
Selecting previously unselected package libboost-serialization1.58.0:amd64.
Preparing to unpack .../libboost-serialization1.58.0_1.58.0+dfsg-4.1_amd64.deb ...
Unpacking libboost-serialization1.58.0:amd64 (1.58.0+dfsg-4.1) ...
Selecting previously unselected package libboost-serialization1.58-dev:amd64.
Preparing to unpack .../libboost-serialization1.58-dev_1.58.0+dfsg-4.1_amd64.deb ...
Unpacking libboost-serialization1.58-dev:amd64 (1.58.0+dfsg-4.1) ...
Selecting previously unselected package libboost-date-time1.58-dev:amd64.
Preparing to unpack .../libboost-date-time1.58-dev_1.58.0+dfsg-4.1_amd64.deb ...
Unpacking libboost-date-time1.58-dev:amd64 (1.58.0+dfsg-4.1) ...
Selecting previously unselected package libboost-date-time-dev:amd64.
Preparing to unpack .../libboost-date-time-dev_1.58.0.1_amd64.deb ...
Unpacking libboost-date-time-dev:amd64 (1.58.0.1) ...
Selecting previously unselected package libboost-system1.58-dev:amd64.
Preparing to unpack .../libboost-system1.58-dev_1.58.0+dfsg-4.1_amd64.deb ...
Unpacking libboost-system1.58-dev:amd64 (1.58.0+dfsg-4.1) ...
Selecting previously unselected package libboost-system-dev:amd64.
Preparing to unpack .../libboost-system-dev_1.58.0.1_amd64.deb ...
Unpacking libboost-system-dev:amd64 (1.58.0.1) ...
Selecting previously unselected package libboost-thread1.58.0:amd64.
Preparing to unpack .../libboost-thread1.58.0_1.58.0+dfsg-4.1_amd64.deb ...
Unpacking libboost-thread1.58.0:amd64 (1.58.0+dfsg-4.1) ...
Selecting previously unselected package libboost-thread1.58-dev:amd64.
Preparing to unpack .../libboost-thread1.58-dev_1.58.0+dfsg-4.1_amd64.deb ...
Unpacking libboost-thread1.58-dev:amd64 (1.58.0+dfsg-4.1) ...
Selecting previously unselected package libboost-thread-dev:amd64.
Preparing to unpack .../libboost-thread-dev_1.58.0.1_amd64.deb ...
Unpacking libboost-thread-dev:amd64 (1.58.0.1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../libdpkg-perl_1.18.3_all.deb ...
Unpacking libdpkg-perl (1.18.3) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../libglib2.0-0_2.46.2-1_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.46.2-1) ...
Selecting previously unselected package libconsole-bridge0.2v5:amd64.
Preparing to unpack .../libconsole-bridge0.2v5_0.2.5-2.1_amd64.deb ...
Unpacking libconsole-bridge0.2v5:amd64 (0.2.5-2.1) ...
Selecting previously unselected package libcpp-common0d:amd64.
Preparing to unpack .../libcpp-common0d_0.5.6-2_amd64.deb ...
Unpacking libcpp-common0d:amd64 (0.5.6-2) ...
Selecting previously unselected package libroscpp-serialization0d.
Preparing to unpack .../libroscpp-serialization0d_0.5.6-2_amd64.deb ...
Unpacking libroscpp-serialization0d (0.5.6-2) ...
Selecting previously unselected package librostime0d:amd64.
Preparing to unpack .../librostime0d_0.5.6-2_amd64.deb ...
Unpacking librostime0d:amd64 (0.5.6-2) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../pkg-config_0.29-2_amd64.deb ...
Unpacking pkg-config (0.29-2) ...
Selecting previously unselected package libconsole-bridge-dev:amd64.
Preparing to unpack .../libconsole-bridge-dev_0.2.5-2.1_amd64.deb ...
Unpacking libconsole-bridge-dev:amd64 (0.2.5-2.1) ...
Selecting previously unselected package libroscpp-core-dev.
Preparing to unpack .../libroscpp-core-dev_0.5.6-2_amd64.deb ...
Unpacking libroscpp-core-dev (0.5.6-2) ...
Selecting previously unselected package message-runtime.
Preparing to unpack .../message-runtime_0.4.12-1_all.deb ...
Unpacking message-runtime (0.4.12-1) ...
Selecting previously unselected package ros-message-runtime.
Preparing to unpack .../ros-message-runtime_0.4.12-2_all.deb ...
Unpacking ros-message-runtime (0.4.12-2) ...
dpkg: error processing archive /var/cache/apt/archives/ros-message-runtime_0.4.12-2_all.deb (--unpack):
trying to overwrite '/usr/lib/pkgconfig/message_runtime.pc', which is also in package message-runtime 0.4.12-1
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.21-3) ...
Errors were encountered while processing:
/var/cache/apt/archives/ros-message-runtime_0.4.12-2_all.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/pkgconfig/message_runtime.pc
/usr/share/message_runtime/cmake/message_runtimeConfig-version.cmake
/usr/share/message_runtime/cmake/message_runtimeConfig.cmake
/usr/share/message_runtime/package.xml
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://qa.debian.org/dose/file-overwrites.html.
More information about the debian-science-maintainers
mailing list