[Pkg-gridengine-devel] Bug#671298: libdrmaa-dev and gridengine-drmaa-dev: error when trying to install together

Ralf Treinen treinen at free.fr
Thu May 3 06:16:38 UTC 2012


Package: gridengine-drmaa-dev,libdrmaa-dev
Version: gridengine-drmaa-dev/6.2u5-5
Version: libdrmaa-dev/6.2u5-4
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2012-05-03
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!
  gridengine-drmaa1.0 gridengine-drmaa-dev libdrmaa1.0 libdrmaa-dev
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package gridengine-drmaa1.0.
(Reading database ... 10558 files and directories currently installed.)
Unpacking gridengine-drmaa1.0 (from .../gridengine-drmaa1.0_6.2u5-5_amd64.deb) ...
Selecting previously unselected package gridengine-drmaa-dev.
Unpacking gridengine-drmaa-dev (from .../gridengine-drmaa-dev_6.2u5-5_amd64.deb) ...
Selecting previously unselected package libdrmaa1.0.
Unpacking libdrmaa1.0 (from .../libdrmaa1.0_6.2u5-4_amd64.deb) ...
Selecting previously unselected package libdrmaa-dev.
Unpacking libdrmaa-dev (from .../libdrmaa-dev_6.2u5-4_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libdrmaa-dev_6.2u5-4_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/man3/jsv_script_interface.3.gz', which is also in package gridengine-drmaa-dev 6.2u5-5
configured to not write apport reports
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libdrmaa-dev_6.2u5-4_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/share/man/man3/drmaa_allocate_job_template.3.gz
  /usr/share/man/man3/drmaa_attributes.3.gz
  /usr/share/man/man3/drmaa_control.3.gz
  /usr/share/man/man3/drmaa_delete_job_template.3.gz
  /usr/share/man/man3/drmaa_exit.3.gz
  /usr/share/man/man3/drmaa_get_DRMAA_implementation.3.gz
  /usr/share/man/man3/drmaa_get_DRM_system.3.gz
  /usr/share/man/man3/drmaa_get_attribute.3.gz
  /usr/share/man/man3/drmaa_get_attribute_names.3.gz
  /usr/share/man/man3/drmaa_get_contact.3.gz
  /usr/share/man/man3/drmaa_get_next_attr_name.3.gz
  /usr/share/man/man3/drmaa_get_next_attr_value.3.gz
  /usr/share/man/man3/drmaa_get_next_job_id.3.gz
  /usr/share/man/man3/drmaa_get_num_attr_names.3.gz
  /usr/share/man/man3/drmaa_get_num_attr_values.3.gz
  /usr/share/man/man3/drmaa_get_num_job_ids.3.gz
  /usr/share/man/man3/drmaa_get_vector_attribute.3.gz
  /usr/share/man/man3/drmaa_get_vector_attribute_names.3.gz
  /usr/share/man/man3/drmaa_init.3.gz
  /usr/share/man/man3/drmaa_job_ps.3.gz
  /usr/share/man/man3/drmaa_jobcontrol.3.gz
  /usr/share/man/man3/drmaa_jobtemplate.3.gz
  /usr/share/man/man3/drmaa_misc.3.gz
  /usr/share/man/man3/drmaa_release_attr_names.3.gz
  /usr/share/man/man3/drmaa_release_attr_values.3.gz
  /usr/share/man/man3/drmaa_release_job_ids.3.gz
  /usr/share/man/man3/drmaa_run_bulk_jobs.3.gz
  /usr/share/man/man3/drmaa_run_job.3.gz
  /usr/share/man/man3/drmaa_session.3.gz
  /usr/share/man/man3/drmaa_set_attribute.3.gz
  /usr/share/man/man3/drmaa_set_vector_attribute.3.gz
  /usr/share/man/man3/drmaa_strerror.3.gz
  /usr/share/man/man3/drmaa_submit.3.gz
  /usr/share/man/man3/drmaa_synchronize.3.gz
  /usr/share/man/man3/drmaa_version.3.gz
  /usr/share/man/man3/drmaa_wait.3.gz
  /usr/share/man/man3/drmaa_wcoredump.3.gz
  /usr/share/man/man3/drmaa_wexitstatus.3.gz
  /usr/share/man/man3/drmaa_wifaborted.3.gz
  /usr/share/man/man3/drmaa_wifexited.3.gz
  /usr/share/man/man3/drmaa_wifsignaled.3.gz
  /usr/share/man/man3/drmaa_wtermsig.3.gz
  /usr/share/man/man3/jsv_script_interface.3.gz

-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 Pkg-gridengine-devel mailing list