Package: torque-client
Version: torque-client/2.4.8+dfsg-3
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2010-05-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!
  gawk liblockfile1 exim4-config exim4-base libpcre3 exim4-daemon-light
  bsd-mailx ucf gridengine-common gridengine-client libcurses-perl libtorque2
  torque-common torque-client
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package gawk.
(Reading database ... 12205 files and directories currently installed.)
Unpacking gawk (from .../gawk_1%3a3.1.7.dfsg-5_amd64.deb) ...
Selecting previously deselected package liblockfile1.
Unpacking liblockfile1 (from .../liblockfile1_1.08-4_amd64.deb) ...
Selecting previously deselected package exim4-config.
Unpacking exim4-config (from .../exim4-config_4.71-4_all.deb) ...
Selecting previously deselected package exim4-base.
Unpacking exim4-base (from .../exim4-base_4.71-4_amd64.deb) ...
Selecting previously deselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_8.02-1_amd64.deb) ...
Selecting previously deselected package exim4-daemon-light.
Unpacking exim4-daemon-light (from .../exim4-daemon-light_4.71-4_amd64.deb) ...
Selecting previously deselected package bsd-mailx.
Unpacking bsd-mailx (from .../bsd-mailx_8.1.2-0.20100314cvs-1_amd64.deb) ...
Selecting previously deselected package ucf.
Unpacking ucf (from .../archives/ucf_3.0025_all.deb) ...
Moving old data out of the way
Selecting previously deselected package gridengine-common.
Unpacking gridengine-common (from .../gridengine-common_6.2u4-2_all.deb) ...
Selecting previously deselected package gridengine-client.
Unpacking gridengine-client (from .../gridengine-client_6.2u4-2_amd64.deb) ...
Selecting previously deselected package libcurses-perl.
Unpacking libcurses-perl (from .../libcurses-perl_1.28-1_amd64.deb) ...
Selecting previously deselected package libtorque2.
Unpacking libtorque2 (from .../libtorque2_2.4.8+dfsg-3_amd64.deb) ...
Selecting previously deselected package torque-common.
Unpacking torque-common (from .../torque-common_2.4.8+dfsg-3_all.deb) ...
Selecting previously deselected package torque-client.
Unpacking torque-client (from .../torque-client_2.4.8+dfsg-3_amd64.deb) ...
dpkg: error processing 
/var/cache/apt/archives/torque-client_2.4.8+dfsg-3_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/qalter', which is also in package 
gridengine-client 0:6.2u4-2
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/torque-client_2.4.8+dfsg-3_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/qalter
  /usr/bin/qdel
  /usr/bin/qhold
  /usr/bin/qrls
  /usr/bin/qselect
  /usr/bin/qstat
  /usr/bin/qsub

Similar problems occur in conjunction with other packages. With each
of the packages, the path names used in both packages are indicated:

torque_mon and torque-client-x11
---------------------------------

  /usr/sbin/momctl

gridengine-client and torque-doc
--------------------------------

  /usr/share/man/man1/qalter.1.gz
  /usr/share/man/man1/qdel.1.gz
  /usr/share/man/man1/qhold.1.gz
  /usr/share/man/man1/qrls.1.gz
  /usr/share/man/man1/qselect.1.gz
  /usr/share/man/man1/qstat.1.gz
  /usr/share/man/man1/qsub.1.gz

qterm and torque-client
-----------------------

  /usr/bin/qterm

torque-client-x11 and qterm
---------------------------

  /usr/bin/qterm

torque-client-x11 and gridengine-client
---------------------------------------

  /usr/bin/qalter
  /usr/bin/qdel
  /usr/bin/qhold
  /usr/bin/qrls
  /usr/bin/qselect
  /usr/bin/qstat
  /usr/bin/qsub

-Ralf.

PS: for more information about the detection of file overwrite errors
of this kind see http://edos.debian.net/file-overwrites/.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to