Bug#722666: libmpich1.0-dev and libmpich-dev: error when trying to install together

Ralf Treinen rt at free.fr
Fri Sep 13 06:49:30 UTC 2013


Package: libmpich-dev,libmpich1.0-dev
Version: libmpich-dev/3.0.4-2
Version: libmpich1.0-dev/1.2.7-10
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2013-09-13
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!
  libasan0 libatomic1 libgmp10 libisl10 libcloog-isl4 libquadmath0
  libgfortran3 libgomp1 libitm1 libmpfr4 libtsan0 libxau6 libxdmcp6 libxcb1
  libx11-data libx11-6 libmpc3 libcr0 libmpich10 binutils cpp-4.8 cpp
  libgcc-4.8-dev gcc-4.8 gcc libc-dev-bin linux-libc-dev libc6-dev
  libstdc++-4.8-dev g++-4.8 g++ libgfortran-4.8-dev gfortran-4.8 gfortran
  libcr-dev libmpich-dev libmpich1.0gf libmpich1.0-dev

Extracting templates from packages: 78%
Extracting templates from packages: 100%
Authentication warning overridden.
Selecting previously unselected package libasan0:amd64.
(Reading database ... 10882 files and directories currently installed.)
Unpacking libasan0:amd64 (from .../libasan0_4.8.1-10_amd64.deb) ...
Selecting previously unselected package libatomic1:amd64.
Unpacking libatomic1:amd64 (from .../libatomic1_4.8.1-10_amd64.deb) ...
Selecting previously unselected package libgmp10:amd64.
Unpacking libgmp10:amd64 (from .../libgmp10_2%3a5.1.2+dfsg-2_amd64.deb) ...
Selecting previously unselected package libisl10:amd64.
Unpacking libisl10:amd64 (from .../libisl10_0.11.2-1_amd64.deb) ...
Selecting previously unselected package libcloog-isl4:amd64.
Unpacking libcloog-isl4:amd64 (from .../libcloog-isl4_0.18.0-2_amd64.deb) ...
Selecting previously unselected package libquadmath0:amd64.
Unpacking libquadmath0:amd64 (from .../libquadmath0_4.8.1-10_amd64.deb) ...
Selecting previously unselected package libgfortran3:amd64.
Unpacking libgfortran3:amd64 (from .../libgfortran3_4.8.1-10_amd64.deb) ...
Selecting previously unselected package libgomp1:amd64.
Unpacking libgomp1:amd64 (from .../libgomp1_4.8.1-10_amd64.deb) ...
Selecting previously unselected package libitm1:amd64.
Unpacking libitm1:amd64 (from .../libitm1_4.8.1-10_amd64.deb) ...
Selecting previously unselected package libmpfr4:amd64.
Unpacking libmpfr4:amd64 (from .../libmpfr4_3.1.1-1_amd64.deb) ...
Selecting previously unselected package libtsan0:amd64.
Unpacking libtsan0:amd64 (from .../libtsan0_4.8.1-10_amd64.deb) ...
Selecting previously unselected package libxau6:amd64.
Unpacking libxau6:amd64 (from .../libxau6_1%3a1.0.8-1_amd64.deb) ...
Selecting previously unselected package libxdmcp6:amd64.
Unpacking libxdmcp6:amd64 (from .../libxdmcp6_1%3a1.1.1-1_amd64.deb) ...
Selecting previously unselected package libxcb1:amd64.
Unpacking libxcb1:amd64 (from .../libxcb1_1.9.1-3_amd64.deb) ...
Selecting previously unselected package libx11-data.
Unpacking libx11-data (from .../libx11-data_2%3a1.6.1-1_all.deb) ...
Selecting previously unselected package libx11-6:amd64.
Unpacking libx11-6:amd64 (from .../libx11-6_2%3a1.6.1-1_amd64.deb) ...
Selecting previously unselected package libmpc3:amd64.
Unpacking libmpc3:amd64 (from .../libmpc3_1.0.1-1_amd64.deb) ...
Selecting previously unselected package libcr0.
Unpacking libcr0 (from .../libcr0_0.8.5-2_amd64.deb) ...
Selecting previously unselected package libmpich10:amd64.
Unpacking libmpich10:amd64 (from .../libmpich10_3.0.4-2_amd64.deb) ...
Selecting previously unselected package binutils.
Unpacking binutils (from .../binutils_2.23.52.20130828-1_amd64.deb) ...
Selecting previously unselected package cpp-4.8.
Unpacking cpp-4.8 (from .../cpp-4.8_4.8.1-10_amd64.deb) ...
Selecting previously unselected package cpp.
Unpacking cpp (from .../cpp_4%3a4.8.1-3_amd64.deb) ...
Selecting previously unselected package libgcc-4.8-dev:amd64.
Unpacking libgcc-4.8-dev:amd64 (from .../libgcc-4.8-dev_4.8.1-10_amd64.deb) ...
Selecting previously unselected package gcc-4.8.
Unpacking gcc-4.8 (from .../gcc-4.8_4.8.1-10_amd64.deb) ...
Selecting previously unselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.8.1-3_amd64.deb) ...
Selecting previously unselected package libc-dev-bin.
Unpacking libc-dev-bin (from .../libc-dev-bin_2.17-92+b1_amd64.deb) ...
Selecting previously unselected package linux-libc-dev:amd64.
Unpacking linux-libc-dev:amd64 (from .../linux-libc-dev_3.10.11-1_amd64.deb) ...
Selecting previously unselected package libc6-dev:amd64.
Unpacking libc6-dev:amd64 (from .../libc6-dev_2.17-92+b1_amd64.deb) ...
Selecting previously unselected package libstdc++-4.8-dev:amd64.
Unpacking libstdc++-4.8-dev:amd64 (from .../libstdc++-4.8-dev_4.8.1-10_amd64.deb) ...
Selecting previously unselected package g++-4.8.
Unpacking g++-4.8 (from .../g++-4.8_4.8.1-10_amd64.deb) ...
Selecting previously unselected package g++.
Unpacking g++ (from .../g++_4%3a4.8.1-3_amd64.deb) ...
Selecting previously unselected package libgfortran-4.8-dev:amd64.
Unpacking libgfortran-4.8-dev:amd64 (from .../libgfortran-4.8-dev_4.8.1-10_amd64.deb) ...
Selecting previously unselected package gfortran-4.8.
Unpacking gfortran-4.8 (from .../gfortran-4.8_4.8.1-10_amd64.deb) ...
Selecting previously unselected package gfortran.
Unpacking gfortran (from .../gfortran_4%3a4.8.1-3_amd64.deb) ...
Selecting previously unselected package libcr-dev.
Unpacking libcr-dev (from .../libcr-dev_0.8.5-2_amd64.deb) ...
Selecting previously unselected package libmpich-dev.
Unpacking libmpich-dev (from .../libmpich-dev_3.0.4-2_amd64.deb) ...
Selecting previously unselected package libmpich1.0gf.
Unpacking libmpich1.0gf (from .../libmpich1.0gf_1.2.7-10_amd64.deb) ...
Selecting previously unselected package libmpich1.0-dev.
Unpacking libmpich1.0-dev (from .../libmpich1.0-dev_1.2.7-10_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libmpich1.0-dev_1.2.7-10_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/man1/mpif90.mpich.1.gz', which is also in package libmpich-dev 3.0.4-2
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libmpich1.0-dev_1.2.7-10_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/mpicc.mpich
  /usr/bin/mpicxx.mpich
  /usr/bin/mpif77.mpich
  /usr/bin/mpif90.mpich
  /usr/share/man/man1/mpicc.mpich.1.gz
  /usr/share/man/man1/mpicxx.mpich.1.gz
  /usr/share/man/man1/mpif77.mpich.1.gz
  /usr/share/man/man1/mpif90.mpich.1.gz

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 debian-science-maintainers mailing list