Bug#630864: rheolef and freefem++: error when trying to install together
Ralf Treinen
treinen at free.fr
Sat Jun 18 07:14:17 UTC 2011
Package: freefem++,rheolef
Version: freefem++/3.13-1
Version: rheolef/5.93-2
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite
Date: 2011-06-18
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!
multiarch-support gcc-4.6-base libgcc1 libstdc++6 libdrm2 libquadmath0
libgfortran3 libxau6 libxdmcp6 libxcb1 libx11-data libx11-6 libxfixes3
libxdamage1 libxext6 libxxf86vm1 libgl1-mesa-glx libglu1-mesa libxi6
freeglut3 libamd2.2.0 libblas3gf liblapack3gf libibverbs1 libnuma1
libtorque2 libopenmpi1.3 libarpack2 libumfpack5.4.0 libxpm4 freefem++
librheolef1 rheolef
Extracting templates from packages: 90%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package multiarch-support.
(Reading database ... 9216 files and directories currently installed.)
Unpacking multiarch-support (from .../multiarch-support_2.13-7_amd64.deb) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up multiarch-support (2.13-7) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 9220 files and directories currently installed.)
Preparing to replace gcc-4.6-base 4.6.0-11 (using .../gcc-4.6-base_4.6.0-14_amd64.deb) ...
Unpacking replacement gcc-4.6-base ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up gcc-4.6-base (4.6.0-14) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 9218 files and directories currently installed.)
Preparing to replace libgcc1 1:4.6.0-11 (using .../libgcc1_1%3a4.6.0-14_amd64.deb) ...
Unpacking replacement libgcc1 ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up libgcc1 (1:4.6.0-14) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 9218 files and directories currently installed.)
Preparing to replace libstdc++6 4.6.0-11 (using .../libstdc++6_4.6.0-14_amd64.deb) ...
Unpacking replacement libstdc++6 ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up libstdc++6 (4.6.0-14) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libdrm2.
(Reading database ... 9218 files and directories currently installed.)
Unpacking libdrm2 (from .../libdrm2_2.4.25-3_amd64.deb) ...
Selecting previously deselected package libquadmath0.
Unpacking libquadmath0 (from .../libquadmath0_4.6.0-14_amd64.deb) ...
Selecting previously deselected package libgfortran3.
Unpacking libgfortran3 (from .../libgfortran3_4.6.0-14_amd64.deb) ...
Selecting previously deselected package libxau6.
Unpacking libxau6 (from .../libxau6_1%3a1.0.6-3_amd64.deb) ...
Selecting previously deselected package libxdmcp6.
Unpacking libxdmcp6 (from .../libxdmcp6_1%3a1.1.0-3_amd64.deb) ...
Selecting previously deselected package libxcb1.
Unpacking libxcb1 (from .../libxcb1_1.7-3_amd64.deb) ...
Selecting previously deselected package libx11-data.
Unpacking libx11-data (from .../libx11-data_2%3a1.4.3-2_all.deb) ...
Selecting previously deselected package libx11-6.
Unpacking libx11-6 (from .../libx11-6_2%3a1.4.3-2_amd64.deb) ...
Selecting previously deselected package libxfixes3.
Unpacking libxfixes3 (from .../libxfixes3_1%3a5.0-4_amd64.deb) ...
Selecting previously deselected package libxdamage1.
Unpacking libxdamage1 (from .../libxdamage1_1%3a1.1.3-2_amd64.deb) ...
Selecting previously deselected package libxext6.
Unpacking libxext6 (from .../libxext6_2%3a1.3.0-3_amd64.deb) ...
Selecting previously deselected package libxxf86vm1.
Unpacking libxxf86vm1 (from .../libxxf86vm1_1%3a1.1.1-2_amd64.deb) ...
Selecting previously deselected package libgl1-mesa-glx.
Unpacking libgl1-mesa-glx (from .../libgl1-mesa-glx_7.10.3-2_amd64.deb) ...
Selecting previously deselected package libglu1-mesa.
Unpacking libglu1-mesa (from .../libglu1-mesa_7.10.3-2_amd64.deb) ...
Selecting previously deselected package libxi6.
Unpacking libxi6 (from .../libxi6_2%3a1.4.3-3_amd64.deb) ...
Selecting previously deselected package freeglut3.
Unpacking freeglut3 (from .../freeglut3_2.6.0-1_amd64.deb) ...
Selecting previously deselected package libamd2.2.0.
Unpacking libamd2.2.0 (from .../libamd2.2.0_1%3a3.4.0-2_amd64.deb) ...
Selecting previously deselected package libblas3gf.
Unpacking libblas3gf (from .../libblas3gf_1.2-8_amd64.deb) ...
Selecting previously deselected package liblapack3gf.
Unpacking liblapack3gf (from .../liblapack3gf_3.3.0-4_amd64.deb) ...
Selecting previously deselected package libibverbs1.
Unpacking libibverbs1 (from .../libibverbs1_1.1.3-2_amd64.deb) ...
Selecting previously deselected package libnuma1.
Unpacking libnuma1 (from .../libnuma1_2.0.5-1_amd64.deb) ...
Selecting previously deselected package libtorque2.
Unpacking libtorque2 (from .../libtorque2_2.4.12+dfsg-3_amd64.deb) ...
Selecting previously deselected package libopenmpi1.3.
Unpacking libopenmpi1.3 (from .../libopenmpi1.3_1.4.3-2.1_amd64.deb) ...
Selecting previously deselected package libarpack2.
Unpacking libarpack2 (from .../libarpack2_2.1+parpack96.dfsg-3+b1_amd64.deb) ...
Selecting previously deselected package libumfpack5.4.0.
Unpacking libumfpack5.4.0 (from .../libumfpack5.4.0_1%3a3.4.0-2_amd64.deb) ...
Selecting previously deselected package libxpm4.
Unpacking libxpm4 (from .../libxpm4_1%3a3.5.9-1_amd64.deb) ...
Selecting previously deselected package freefem++.
Unpacking freefem++ (from .../freefem++_3.13-1_amd64.deb) ...
Selecting previously deselected package librheolef1.
Unpacking librheolef1 (from .../librheolef1_5.93-2_amd64.deb) ...
Selecting previously deselected package rheolef.
Unpacking rheolef (from .../rheolef_5.93-2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/rheolef_5.93-2_amd64.deb (--unpack):
trying to overwrite '/usr/bin/bamg', which is also in package freefem++ 3.13-1
configured to not write apport reports
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/rheolef_5.93-2_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/bin/bamg
This bug is assigned to 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
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 debian-science-maintainers
mailing list