Bug#692937: openmpi1.6-doc and mpich2-doc: error when trying to install together

Ralf Treinen treinen at free.fr
Sun Nov 11 03:11:14 UTC 2012


Package: mpich2-doc,openmpi1.6-doc
Version: mpich2-doc/1.4.01-4
Version: openmpi1.6-doc/1.6.3-2
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2012-11-11
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!
  mpich2-doc openmpi1.6-doc
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package mpich2-doc.
(Reading database ... 10756 files and directories currently installed.)
Unpacking mpich2-doc (from .../mpich2-doc_1.4.1-4_all.deb) ...
Selecting previously unselected package openmpi1.6-doc.
Unpacking openmpi1.6-doc (from .../openmpi1.6-doc_1.6.3-2_all.deb) ...
dpkg: error processing /var/cache/apt/archives/openmpi1.6-doc_1.6.3-2_all.deb (--unpack):
 trying to overwrite '/usr/share/man/man3/MPI_Testany.3.gz', which is also in package mpich2-doc 1.4.1-4
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/openmpi1.6-doc_1.6.3-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/share/man/man3/MPI_Abort.3.gz
  /usr/share/man/man3/MPI_Accumulate.3.gz
  /usr/share/man/man3/MPI_Add_error_class.3.gz
  /usr/share/man/man3/MPI_Add_error_code.3.gz
  /usr/share/man/man3/MPI_Add_error_string.3.gz
  /usr/share/man/man3/MPI_Address.3.gz
  /usr/share/man/man3/MPI_Allgather.3.gz
  /usr/share/man/man3/MPI_Allgatherv.3.gz
  /usr/share/man/man3/MPI_Alloc_mem.3.gz
  /usr/share/man/man3/MPI_Allreduce.3.gz
  /usr/share/man/man3/MPI_Alltoall.3.gz
  /usr/share/man/man3/MPI_Alltoallv.3.gz
  /usr/share/man/man3/MPI_Alltoallw.3.gz
  /usr/share/man/man3/MPI_Attr_delete.3.gz
  /usr/share/man/man3/MPI_Attr_get.3.gz
  /usr/share/man/man3/MPI_Attr_put.3.gz
  /usr/share/man/man3/MPI_Barrier.3.gz
  /usr/share/man/man3/MPI_Bcast.3.gz
  /usr/share/man/man3/MPI_Bsend.3.gz
  /usr/share/man/man3/MPI_Bsend_init.3.gz
  /usr/share/man/man3/MPI_Buffer_attach.3.gz
  /usr/share/man/man3/MPI_Buffer_detach.3.gz
  /usr/share/man/man3/MPI_Cancel.3.gz
  /usr/share/man/man3/MPI_Cart_coords.3.gz
  /usr/share/man/man3/MPI_Cart_create.3.gz
  /usr/share/man/man3/MPI_Cart_get.3.gz
  /usr/share/man/man3/MPI_Cart_map.3.gz
  /usr/share/man/man3/MPI_Cart_rank.3.gz
  /usr/share/man/man3/MPI_Cart_shift.3.gz
  /usr/share/man/man3/MPI_Cart_sub.3.gz
  /usr/share/man/man3/MPI_Cartdim_get.3.gz
  /usr/share/man/man3/MPI_Close_port.3.gz
  /usr/share/man/man3/MPI_Comm_call_errhandler.3.gz
  /usr/share/man/man3/MPI_Comm_compare.3.gz
  /usr/share/man/man3/MPI_Comm_connect.3.gz
  /usr/share/man/man3/MPI_Comm_create.3.gz
  /usr/share/man/man3/MPI_Comm_create_errhandler.3.gz
  /usr/share/man/man3/MPI_Comm_create_keyval.3.gz
  /usr/share/man/man3/MPI_Comm_delete_attr.3.gz
  /usr/share/man/man3/MPI_Comm_disconnect.3.gz
  /usr/share/man/man3/MPI_Comm_dup.3.gz
  /usr/share/man/man3/MPI_Comm_free.3.gz
  /usr/share/man/man3/MPI_Comm_free_keyval.3.gz
  /usr/share/man/man3/MPI_Comm_get_attr.3.gz
  /usr/share/man/man3/MPI_Comm_get_errhandler.3.gz
  /usr/share/man/man3/MPI_Comm_get_name.3.gz
  /usr/share/man/man3/MPI_Comm_get_parent.3.gz
  /usr/share/man/man3/MPI_Comm_group.3.gz
  /usr/share/man/man3/MPI_Comm_join.3.gz
  /usr/share/man/man3/MPI_Comm_rank.3.gz
  /usr/share/man/man3/MPI_Comm_remote_group.3.gz
  /usr/share/man/man3/MPI_Comm_remote_size.3.gz
  /usr/share/man/man3/MPI_Comm_set_attr.3.gz
  /usr/share/man/man3/MPI_Comm_set_errhandler.3.gz
  /usr/share/man/man3/MPI_Comm_set_name.3.gz
  /usr/share/man/man3/MPI_Comm_size.3.gz
  /usr/share/man/man3/MPI_Comm_spawn.3.gz
  /usr/share/man/man3/MPI_Comm_spawn_multiple.3.gz
  /usr/share/man/man3/MPI_Comm_split.3.gz
  /usr/share/man/man3/MPI_Comm_test_inter.3.gz
  /usr/share/man/man3/MPI_Dims_create.3.gz
  /usr/share/man/man3/MPI_Errhandler_create.3.gz
  /usr/share/man/man3/MPI_Errhandler_free.3.gz
  /usr/share/man/man3/MPI_Errhandler_get.3.gz
  /usr/share/man/man3/MPI_Errhandler_set.3.gz
  /usr/share/man/man3/MPI_Error_class.3.gz
  /usr/share/man/man3/MPI_Error_string.3.gz
  /usr/share/man/man3/MPI_Exscan.3.gz
  /usr/share/man/man3/MPI_File_c2f.3.gz
  /usr/share/man/man3/MPI_File_call_errhandler.3.gz
  /usr/share/man/man3/MPI_File_close.3.gz
  /usr/share/man/man3/MPI_File_create_errhandler.3.gz
  /usr/share/man/man3/MPI_File_delete.3.gz
  /usr/share/man/man3/MPI_File_f2c.3.gz
  /usr/share/man/man3/MPI_File_get_amode.3.gz
  /usr/share/man/man3/MPI_File_get_atomicity.3.gz
  /usr/share/man/man3/MPI_File_get_byte_offset.3.gz
  /usr/share/man/man3/MPI_File_get_errhandler.3.gz
  /usr/share/man/man3/MPI_File_get_group.3.gz
  /usr/share/man/man3/MPI_File_get_info.3.gz
  /usr/share/man/man3/MPI_File_get_position.3.gz
  /usr/share/man/man3/MPI_File_get_position_shared.3.gz
  /usr/share/man/man3/MPI_File_get_size.3.gz
  /usr/share/man/man3/MPI_File_get_type_extent.3.gz
  /usr/share/man/man3/MPI_File_get_view.3.gz
  /usr/share/man/man3/MPI_File_iread.3.gz
  /usr/share/man/man3/MPI_File_iread_at.3.gz
  /usr/share/man/man3/MPI_File_iread_shared.3.gz
  /usr/share/man/man3/MPI_File_iwrite.3.gz
  /usr/share/man/man3/MPI_File_iwrite_at.3.gz
  /usr/share/man/man3/MPI_File_iwrite_shared.3.gz
  /usr/share/man/man3/MPI_File_open.3.gz
  /usr/share/man/man3/MPI_File_preallocate.3.gz
  /usr/share/man/man3/MPI_File_read.3.gz
  /usr/share/man/man3/MPI_File_read_all.3.gz
  /usr/share/man/man3/MPI_File_read_all_begin.3.gz
  /usr/share/man/man3/MPI_File_read_all_end.3.gz
  /usr/share/man/man3/MPI_File_read_at.3.gz
  /usr/share/man/man3/MPI_File_read_at_all.3.gz
  /usr/share/man/man3/MPI_File_read_at_all_begin.3.gz
  /usr/share/man/man3/MPI_File_read_at_all_end.3.gz
  /usr/share/man/man3/MPI_File_read_ordered.3.gz
  /usr/share/man/man3/MPI_File_read_ordered_begin.3.gz
  /usr/share/man/man3/MPI_File_read_ordered_end.3.gz
  /usr/share/man/man3/MPI_File_read_shared.3.gz
  /usr/share/man/man3/MPI_File_seek.3.gz
  /usr/share/man/man3/MPI_File_seek_shared.3.gz
  /usr/share/man/man3/MPI_File_set_atomicity.3.gz
  /usr/share/man/man3/MPI_File_set_errhandler.3.gz
  /usr/share/man/man3/MPI_File_set_info.3.gz
  /usr/share/man/man3/MPI_File_set_size.3.gz
  /usr/share/man/man3/MPI_File_set_view.3.gz
  /usr/share/man/man3/MPI_File_sync.3.gz
  /usr/share/man/man3/MPI_File_write.3.gz
  /usr/share/man/man3/MPI_File_write_all.3.gz
  /usr/share/man/man3/MPI_File_write_all_begin.3.gz
  /usr/share/man/man3/MPI_File_write_all_end.3.gz
  /usr/share/man/man3/MPI_File_write_at.3.gz
  /usr/share/man/man3/MPI_File_write_at_all.3.gz
  /usr/share/man/man3/MPI_File_write_at_all_begin.3.gz
  /usr/share/man/man3/MPI_File_write_at_all_end.3.gz
  /usr/share/man/man3/MPI_File_write_ordered.3.gz
  /usr/share/man/man3/MPI_File_write_ordered_begin.3.gz
  /usr/share/man/man3/MPI_File_write_ordered_end.3.gz
  /usr/share/man/man3/MPI_File_write_shared.3.gz
  /usr/share/man/man3/MPI_Finalize.3.gz
  /usr/share/man/man3/MPI_Finalized.3.gz
  /usr/share/man/man3/MPI_Free_mem.3.gz
  /usr/share/man/man3/MPI_Gather.3.gz
  /usr/share/man/man3/MPI_Gatherv.3.gz
  /usr/share/man/man3/MPI_Get.3.gz
  /usr/share/man/man3/MPI_Get_address.3.gz
  /usr/share/man/man3/MPI_Get_count.3.gz
  /usr/share/man/man3/MPI_Get_elements.3.gz
  /usr/share/man/man3/MPI_Get_processor_name.3.gz
  /usr/share/man/man3/MPI_Get_version.3.gz
  /usr/share/man/man3/MPI_Graph_create.3.gz
  /usr/share/man/man3/MPI_Graph_get.3.gz
  /usr/share/man/man3/MPI_Graph_map.3.gz
  /usr/share/man/man3/MPI_Graph_neighbors.3.gz
  /usr/share/man/man3/MPI_Graph_neighbors_count.3.gz
  /usr/share/man/man3/MPI_Graphdims_get.3.gz
  /usr/share/man/man3/MPI_Grequest_complete.3.gz
  /usr/share/man/man3/MPI_Grequest_start.3.gz
  /usr/share/man/man3/MPI_Group_compare.3.gz
  /usr/share/man/man3/MPI_Group_difference.3.gz
  /usr/share/man/man3/MPI_Group_excl.3.gz
  /usr/share/man/man3/MPI_Group_free.3.gz
  /usr/share/man/man3/MPI_Group_incl.3.gz
  /usr/share/man/man3/MPI_Group_intersection.3.gz
  /usr/share/man/man3/MPI_Group_range_excl.3.gz
  /usr/share/man/man3/MPI_Group_range_incl.3.gz
  /usr/share/man/man3/MPI_Group_rank.3.gz
  /usr/share/man/man3/MPI_Group_size.3.gz
  /usr/share/man/man3/MPI_Group_translate_ranks.3.gz
  /usr/share/man/man3/MPI_Group_union.3.gz
  /usr/share/man/man3/MPI_Ibsend.3.gz
  /usr/share/man/man3/MPI_Info_create.3.gz
  /usr/share/man/man3/MPI_Info_delete.3.gz
  /usr/share/man/man3/MPI_Info_dup.3.gz
  /usr/share/man/man3/MPI_Info_free.3.gz
  /usr/share/man/man3/MPI_Info_get.3.gz
  /usr/share/man/man3/MPI_Info_get_nkeys.3.gz
  /usr/share/man/man3/MPI_Info_get_nthkey.3.gz
  /usr/share/man/man3/MPI_Info_get_valuelen.3.gz
  /usr/share/man/man3/MPI_Info_set.3.gz
  /usr/share/man/man3/MPI_Init.3.gz
  /usr/share/man/man3/MPI_Init_thread.3.gz
  /usr/share/man/man3/MPI_Initialized.3.gz
  /usr/share/man/man3/MPI_Intercomm_create.3.gz
  /usr/share/man/man3/MPI_Intercomm_merge.3.gz
  /usr/share/man/man3/MPI_Iprobe.3.gz
  /usr/share/man/man3/MPI_Irecv.3.gz
  /usr/share/man/man3/MPI_Irsend.3.gz
  /usr/share/man/man3/MPI_Is_thread_main.3.gz
  /usr/share/man/man3/MPI_Isend.3.gz
  /usr/share/man/man3/MPI_Issend.3.gz
  /usr/share/man/man3/MPI_Keyval_create.3.gz
  /usr/share/man/man3/MPI_Keyval_free.3.gz
  /usr/share/man/man3/MPI_Lookup_name.3.gz
  /usr/share/man/man3/MPI_Op_create.3.gz
  /usr/share/man/man3/MPI_Op_free.3.gz
  /usr/share/man/man3/MPI_Open_port.3.gz
  /usr/share/man/man3/MPI_Pack.3.gz
  /usr/share/man/man3/MPI_Pack_external.3.gz
  /usr/share/man/man3/MPI_Pack_external_size.3.gz
  /usr/share/man/man3/MPI_Pack_size.3.gz
  /usr/share/man/man3/MPI_Pcontrol.3.gz
  /usr/share/man/man3/MPI_Probe.3.gz
  /usr/share/man/man3/MPI_Publish_name.3.gz
  /usr/share/man/man3/MPI_Put.3.gz
  /usr/share/man/man3/MPI_Query_thread.3.gz
  /usr/share/man/man3/MPI_Recv.3.gz
  /usr/share/man/man3/MPI_Recv_init.3.gz
  /usr/share/man/man3/MPI_Reduce.3.gz
  /usr/share/man/man3/MPI_Reduce_local.3.gz
  /usr/share/man/man3/MPI_Reduce_scatter.3.gz
  /usr/share/man/man3/MPI_Register_datarep.3.gz
  /usr/share/man/man3/MPI_Request_free.3.gz
  /usr/share/man/man3/MPI_Request_get_status.3.gz
  /usr/share/man/man3/MPI_Rsend.3.gz
  /usr/share/man/man3/MPI_Rsend_init.3.gz
  /usr/share/man/man3/MPI_Scan.3.gz
  /usr/share/man/man3/MPI_Scatter.3.gz
  /usr/share/man/man3/MPI_Scatterv.3.gz
  /usr/share/man/man3/MPI_Send.3.gz
  /usr/share/man/man3/MPI_Send_init.3.gz
  /usr/share/man/man3/MPI_Sendrecv.3.gz
  /usr/share/man/man3/MPI_Sendrecv_replace.3.gz
  /usr/share/man/man3/MPI_Ssend.3.gz
  /usr/share/man/man3/MPI_Ssend_init.3.gz
  /usr/share/man/man3/MPI_Start.3.gz
  /usr/share/man/man3/MPI_Startall.3.gz
  /usr/share/man/man3/MPI_Status_set_cancelled.3.gz
  /usr/share/man/man3/MPI_Status_set_elements.3.gz
  /usr/share/man/man3/MPI_Test.3.gz
  /usr/share/man/man3/MPI_Test_cancelled.3.gz
  /usr/share/man/man3/MPI_Testall.3.gz
  /usr/share/man/man3/MPI_Testany.3.gz
  /usr/share/man/man3/MPI_Testsome.3.gz
  /usr/share/man/man3/MPI_Topo_test.3.gz
  /usr/share/man/man3/MPI_Type_commit.3.gz
  /usr/share/man/man3/MPI_Type_contiguous.3.gz
  /usr/share/man/man3/MPI_Type_create_darray.3.gz
  /usr/share/man/man3/MPI_Type_create_hindexed.3.gz
  /usr/share/man/man3/MPI_Type_create_hvector.3.gz
  /usr/share/man/man3/MPI_Type_create_indexed_block.3.gz
  /usr/share/man/man3/MPI_Type_create_keyval.3.gz
  /usr/share/man/man3/MPI_Type_create_resized.3.gz
  /usr/share/man/man3/MPI_Type_create_struct.3.gz
  /usr/share/man/man3/MPI_Type_create_subarray.3.gz
  /usr/share/man/man3/MPI_Type_delete_attr.3.gz
  /usr/share/man/man3/MPI_Type_dup.3.gz
  /usr/share/man/man3/MPI_Type_extent.3.gz
  /usr/share/man/man3/MPI_Type_free.3.gz
  /usr/share/man/man3/MPI_Type_free_keyval.3.gz
  /usr/share/man/man3/MPI_Type_get_attr.3.gz
  /usr/share/man/man3/MPI_Type_get_contents.3.gz
  /usr/share/man/man3/MPI_Type_get_envelope.3.gz
  /usr/share/man/man3/MPI_Type_get_extent.3.gz
  /usr/share/man/man3/MPI_Type_get_name.3.gz
  /usr/share/man/man3/MPI_Type_get_true_extent.3.gz
  /usr/share/man/man3/MPI_Type_hindexed.3.gz
  /usr/share/man/man3/MPI_Type_hvector.3.gz
  /usr/share/man/man3/MPI_Type_indexed.3.gz
  /usr/share/man/man3/MPI_Type_lb.3.gz
  /usr/share/man/man3/MPI_Type_match_size.3.gz
  /usr/share/man/man3/MPI_Type_set_attr.3.gz
  /usr/share/man/man3/MPI_Type_set_name.3.gz
  /usr/share/man/man3/MPI_Type_size.3.gz
  /usr/share/man/man3/MPI_Type_struct.3.gz
  /usr/share/man/man3/MPI_Type_ub.3.gz
  /usr/share/man/man3/MPI_Type_vector.3.gz
  /usr/share/man/man3/MPI_Unpack.3.gz
  /usr/share/man/man3/MPI_Unpack_external.3.gz
  /usr/share/man/man3/MPI_Unpublish_name.3.gz
  /usr/share/man/man3/MPI_Wait.3.gz
  /usr/share/man/man3/MPI_Waitall.3.gz
  /usr/share/man/man3/MPI_Waitany.3.gz
  /usr/share/man/man3/MPI_Waitsome.3.gz
  /usr/share/man/man3/MPI_Win_call_errhandler.3.gz
  /usr/share/man/man3/MPI_Win_complete.3.gz
  /usr/share/man/man3/MPI_Win_create.3.gz
  /usr/share/man/man3/MPI_Win_create_errhandler.3.gz
  /usr/share/man/man3/MPI_Win_create_keyval.3.gz
  /usr/share/man/man3/MPI_Win_delete_attr.3.gz
  /usr/share/man/man3/MPI_Win_fence.3.gz
  /usr/share/man/man3/MPI_Win_free.3.gz
  /usr/share/man/man3/MPI_Win_free_keyval.3.gz
  /usr/share/man/man3/MPI_Win_get_attr.3.gz
  /usr/share/man/man3/MPI_Win_get_errhandler.3.gz
  /usr/share/man/man3/MPI_Win_get_group.3.gz
  /usr/share/man/man3/MPI_Win_get_name.3.gz
  /usr/share/man/man3/MPI_Win_lock.3.gz
  /usr/share/man/man3/MPI_Win_post.3.gz
  /usr/share/man/man3/MPI_Win_set_attr.3.gz
  /usr/share/man/man3/MPI_Win_set_errhandler.3.gz
  /usr/share/man/man3/MPI_Win_set_name.3.gz
  /usr/share/man/man3/MPI_Win_start.3.gz
  /usr/share/man/man3/MPI_Win_test.3.gz
  /usr/share/man/man3/MPI_Win_unlock.3.gz
  /usr/share/man/man3/MPI_Win_wait.3.gz
  /usr/share/man/man3/MPI_Wtick.3.gz
  /usr/share/man/man3/MPI_Wtime.3.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