[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#707671: librtai-dev and gcc-multilib: error when trying to install together



Package: gcc-multilib,librtai-dev
Version: gcc-multilib/4:4.7.2-1
Version: librtai-dev/3.9.1-2
Severity: serious
User: treinen@debian.org
Usertags: edos-file-overwrite

Date: 2013-05-10
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:


WARNING: The following packages cannot be authenticated!
  gcc-4.8-base libgcc1 libstdc++6 libgmp10 libgmpxx4ldbl libppl12 libppl-c4
  libcloog-ppl1 libgomp1 libitm1 libmpfr4 libquadmath0 libmpc2 gcc-4.7-base
  binutils cpp-4.7 cpp libgcc-4.7-dev gcc-4.7 gcc libc6-i386 libc-dev-bin
  linux-libc-dev libc6-dev libc6-dev-i386 libc6-x32 libc6-dev-x32 lib32gcc1
  libx32gcc1 lib32gomp1 libx32gomp1 lib32itm1 libx32itm1 lib32quadmath0
  libx32quadmath0 lib32gcc-4.7-dev libx32gcc-4.7-dev gcc-4.7-multilib
  gcc-multilib librtai1 librtai-dev

Extracting templates from packages: 73%
Extracting templates from packages: 100%
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package gcc-4.8-base:amd64.
(Reading database ... 10797 files and directories currently installed.)
Unpacking gcc-4.8-base:amd64 (from .../gcc-4.8-base_4.8.0-6_amd64.deb) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up gcc-4.8-base:amd64 (4.8.0-6) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 10804 files and directories currently installed.)
Preparing to replace libgcc1:amd64 1:4.7.2-5 (using .../libgcc1_1%3a4.8.0-6_amd64.deb) ...
Unpacking replacement libgcc1:amd64 ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up libgcc1:amd64 (1:4.8.0-6) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 10804 files and directories currently installed.)
Preparing to replace libstdc++6:amd64 4.7.2-5 (using .../libstdc++6_4.8.0-6_amd64.deb) ...
Unpacking replacement libstdc++6:amd64 ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up libstdc++6:amd64 (4.8.0-6) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package libgmp10:amd64.
(Reading database ... 10804 files and directories currently installed.)
Unpacking libgmp10:amd64 (from .../libgmp10_2%3a5.1.1+dfsg-3_amd64.deb) ...
Selecting previously unselected package libgmpxx4ldbl:amd64.
Unpacking libgmpxx4ldbl:amd64 (from .../libgmpxx4ldbl_2%3a5.1.1+dfsg-3_amd64.deb) ...
Selecting previously unselected package libppl12:amd64.
Unpacking libppl12:amd64 (from .../libppl12_1%3a1.0-7_amd64.deb) ...
Selecting previously unselected package libppl-c4:amd64.
Unpacking libppl-c4:amd64 (from .../libppl-c4_1%3a1.0-7_amd64.deb) ...
Selecting previously unselected package libcloog-ppl1:amd64.
Unpacking libcloog-ppl1:amd64 (from .../libcloog-ppl1_0.16.1-2_amd64.deb) ...
Selecting previously unselected package libgomp1:amd64.
Unpacking libgomp1:amd64 (from .../libgomp1_4.8.0-6_amd64.deb) ...
Selecting previously unselected package libitm1:amd64.
Unpacking libitm1:amd64 (from .../libitm1_4.8.0-6_amd64.deb) ...
Selecting previously unselected package libmpfr4:amd64.
Unpacking libmpfr4:amd64 (from .../libmpfr4_3.1.1-1_amd64.deb) ...
Selecting previously unselected package libquadmath0:amd64.
Unpacking libquadmath0:amd64 (from .../libquadmath0_4.8.0-6_amd64.deb) ...
Selecting previously unselected package libmpc2:amd64.
Unpacking libmpc2:amd64 (from .../libmpc2_0.9-4_amd64.deb) ...
Preparing to replace gcc-4.7-base:amd64 4.7.2-5 (using .../gcc-4.7-base_4.7.3-3_amd64.deb) ...
Unpacking replacement gcc-4.7-base:amd64 ...
Selecting previously unselected package binutils.
Unpacking binutils (from .../binutils_2.22-8_amd64.deb) ...
Selecting previously unselected package cpp-4.7.
Unpacking cpp-4.7 (from .../cpp-4.7_4.7.3-3_amd64.deb) ...
Selecting previously unselected package cpp.
Unpacking cpp (from .../cpp_4%3a4.7.2-1_amd64.deb) ...
Selecting previously unselected package libgcc-4.7-dev:amd64.
Unpacking libgcc-4.7-dev:amd64 (from .../libgcc-4.7-dev_4.7.3-3_amd64.deb) ...
Selecting previously unselected package gcc-4.7.
Unpacking gcc-4.7 (from .../gcc-4.7_4.7.3-3_amd64.deb) ...
Selecting previously unselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.7.2-1_amd64.deb) ...
Selecting previously unselected package libc6-i386.
Unpacking libc6-i386 (from .../libc6-i386_2.17-1_amd64.deb) ...
Selecting previously unselected package libc-dev-bin.
Unpacking libc-dev-bin (from .../libc-dev-bin_2.17-1_amd64.deb) ...
Selecting previously unselected package linux-libc-dev:amd64.
Unpacking linux-libc-dev:amd64 (from .../linux-libc-dev_3.8.11-1_amd64.deb) ...
Selecting previously unselected package libc6-dev:amd64.
Unpacking libc6-dev:amd64 (from .../libc6-dev_2.17-1_amd64.deb) ...
Selecting previously unselected package libc6-dev-i386.
Unpacking libc6-dev-i386 (from .../libc6-dev-i386_2.17-1_amd64.deb) ...
Selecting previously unselected package libc6-x32.
Unpacking libc6-x32 (from .../libc6-x32_2.17-1_amd64.deb) ...
Selecting previously unselected package libc6-dev-x32.
Unpacking libc6-dev-x32 (from .../libc6-dev-x32_2.17-1_amd64.deb) ...
Selecting previously unselected package lib32gcc1.
Unpacking lib32gcc1 (from .../lib32gcc1_1%3a4.8.0-6_amd64.deb) ...
Selecting previously unselected package libx32gcc1.
Unpacking libx32gcc1 (from .../libx32gcc1_1%3a4.8.0-6_amd64.deb) ...
Selecting previously unselected package lib32gomp1.
Unpacking lib32gomp1 (from .../lib32gomp1_4.8.0-6_amd64.deb) ...
Selecting previously unselected package libx32gomp1.
Unpacking libx32gomp1 (from .../libx32gomp1_4.8.0-6_amd64.deb) ...
Selecting previously unselected package lib32itm1.
Unpacking lib32itm1 (from .../lib32itm1_4.8.0-6_amd64.deb) ...
Selecting previously unselected package libx32itm1.
Unpacking libx32itm1 (from .../libx32itm1_4.8.0-6_amd64.deb) ...
Selecting previously unselected package lib32quadmath0.
Unpacking lib32quadmath0 (from .../lib32quadmath0_4.8.0-6_amd64.deb) ...
Selecting previously unselected package libx32quadmath0.
Unpacking libx32quadmath0 (from .../libx32quadmath0_4.8.0-6_amd64.deb) ...
Selecting previously unselected package lib32gcc-4.7-dev.
Unpacking lib32gcc-4.7-dev (from .../lib32gcc-4.7-dev_4.7.3-3_amd64.deb) ...
Selecting previously unselected package libx32gcc-4.7-dev.
Unpacking libx32gcc-4.7-dev (from .../libx32gcc-4.7-dev_4.7.3-3_amd64.deb) ...
Selecting previously unselected package gcc-4.7-multilib.
Unpacking gcc-4.7-multilib (from .../gcc-4.7-multilib_4.7.3-3_amd64.deb) ...
Selecting previously unselected package gcc-multilib.
Unpacking gcc-multilib (from .../gcc-multilib_4%3a4.7.2-1_amd64.deb) ...
Selecting previously unselected package librtai1.
Unpacking librtai1 (from .../librtai1_3.9.1-2_amd64.deb) ...
Selecting previously unselected package librtai-dev.
Unpacking librtai-dev (from .../librtai-dev_3.9.1-2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/librtai-dev_3.9.1-2_amd64.deb (--unpack):
 trying to overwrite '/usr/include/asm', which is also in package gcc-multilib 4:4.7.2-1
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/librtai-dev_3.9.1-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
cow-shell unlink .ilist: No such file or directory


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/include/asm

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/.


Reply to: