Package: opensaf-controller,opensaf-payload
Version: opensaf-controller/4.0.0~B4-1
Version: opensaf-payload/4.0.0~B4-1
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2010-01-24
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!
  libpcre3 libxml2 libglib2.0-0 libltdl7 libopenhpi2 libopensaf psmisc
  tipcutils opensaf-common opensaf-controller opensaf-payload
W: cowdancer: unsupported operation flock, read-only open and 
fchown/fchmod/flock are not supported: tried openning dev:inode of 2055:5408175
W: cowdancer: unsupported operation flock, read-only open and 
fchown/fchmod/flock are not supported: tried openning dev:inode of 2055:5407760
W: cowdancer: unsupported operation flock, read-only open and 
fchown/fchmod/flock are not supported: tried openning dev:inode of 2055:5408177
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libpcre3.
(Reading database ... 12276 files and directories currently installed.)
Unpacking libpcre3 (from .../libpcre3_7.8-3_amd64.deb) ...
Selecting previously deselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.7.6.dfsg-2_amd64.deb) ...
Selecting previously deselected package libglib2.0-0.
Unpacking libglib2.0-0 (from .../libglib2.0-0_2.22.4-1_amd64.deb) ...
Selecting previously deselected package libltdl7.
Unpacking libltdl7 (from .../libltdl7_2.2.6b-2_amd64.deb) ...
Selecting previously deselected package libopenhpi2.
Unpacking libopenhpi2 (from .../libopenhpi2_2.14.0-2_amd64.deb) ...
Selecting previously deselected package libopensaf.
Unpacking libopensaf (from .../libopensaf_4.0.0~B4-1_amd64.deb) ...
Selecting previously deselected package psmisc.
Unpacking psmisc (from .../psmisc_22.10-1_amd64.deb) ...
Selecting previously deselected package tipcutils.
Unpacking tipcutils (from .../tipcutils_1.0.4-5_amd64.deb) ...
Selecting previously deselected package opensaf-common.
Unpacking opensaf-common (from .../opensaf-common_4.0.0~B4-1_amd64.deb) ...
Selecting previously deselected package opensaf-controller.
Unpacking opensaf-controller (from .../opensaf-controller_4.0.0~B4-1_amd64.deb) 
...
Selecting previously deselected package opensaf-payload.
Unpacking opensaf-payload (from .../opensaf-payload_4.0.0~B4-1_amd64.deb) ...
dpkg: error processing 
/var/cache/apt/archives/opensaf-payload_4.0.0~B4-1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/opensaf/ncs_cpnd', which is also in package 
opensaf-controller 0:4.0.0~B4-1
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for man-db ...
W: cowdancer: unsupported operation flock, read-only open and 
fchown/fchmod/flock are not supported: tried openning dev:inode of 2055:5407760
Errors were encountered while processing:
 /var/cache/apt/archives/opensaf-payload_4.0.0~B4-1_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/lib/opensaf/ncs_cpnd
  /usr/lib/opensaf/ncs_glnd
  /usr/lib/opensaf/ncs_mqnd
  /usr/lib/opensaf/ncs_nid
  /usr/lib/opensaf/opensaf_immnd

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.

-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-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to