[Debian-ha-maintainers] Bug#566095: rgmanager and drbd8-utils: error when trying to install together

Ralf Treinen treinen at free.fr
Thu Jan 21 07:38:46 UTC 2010


Package: drbd8-utils,rgmanager
Version: drbd8-utils/2:8.3.7-1
Version: rgmanager/3.0.6-4
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2010-01-21
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!
  libnspr4-0d libsqlite3-0 libnss3-1d libcorosync4 libxml2 libccs3 libcman3
  libdlm3 libdlmcontrol3 libfence4 liblogthread3 libopenais3 libcap-ng0
  libxenstore3.0 libvirt0 corosync openais python2.5-minimal mime-support
  libdb4.5 python2.5 python-minimal python libopenipmi0 libsnmp-base
  libperl5.10 libsensors4 libsnmp15 openipmi libsgutils2-2 sg3-utils
  python-central python-pexpect libnet-snmp-perl libnet-telnet-perl snmp
  telnet libbsd0 libedit2 openssh-client python-support python-openssl
  libxml2-utils cman gawk libevent-1.4-2 libgssglue1 libnfsidmap2
  librpcsecgss3 portmap ucf nfs-common nfs-kernel-server iputils-arping
  rgmanager drbd8-utils
W: cowdancer: unsupported operation flock, read-only open and fchown/fchmod/flock are not supported: tried openning dev:inode of 2055:5407148
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:5407149

Extracting templates from packages: 53%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libnspr4-0d.
(Reading database ... 10458 files and directories currently installed.)
Unpacking libnspr4-0d (from .../libnspr4-0d_4.8.2-1_amd64.deb) ...
Selecting previously deselected package libsqlite3-0.
Unpacking libsqlite3-0 (from .../libsqlite3-0_3.6.21-2_amd64.deb) ...
Selecting previously deselected package libnss3-1d.
Unpacking libnss3-1d (from .../libnss3-1d_3.12.5-1_amd64.deb) ...
Selecting previously deselected package libcorosync4.
Unpacking libcorosync4 (from .../libcorosync4_1.2.0-1_amd64.deb) ...
Selecting previously deselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.7.6.dfsg-2_amd64.deb) ...
Selecting previously deselected package libccs3.
Unpacking libccs3 (from .../libccs3_3.0.6-4_amd64.deb) ...
Selecting previously deselected package libcman3.
Unpacking libcman3 (from .../libcman3_3.0.6-4_amd64.deb) ...
Selecting previously deselected package libdlm3.
Unpacking libdlm3 (from .../libdlm3_3.0.6-4_amd64.deb) ...
Selecting previously deselected package libdlmcontrol3.
Unpacking libdlmcontrol3 (from .../libdlmcontrol3_3.0.6-4_amd64.deb) ...
Selecting previously deselected package libfence4.
Unpacking libfence4 (from .../libfence4_3.0.6-4_amd64.deb) ...
Selecting previously deselected package liblogthread3.
Unpacking liblogthread3 (from .../liblogthread3_3.0.6-4_amd64.deb) ...
Selecting previously deselected package libopenais3.
Unpacking libopenais3 (from .../libopenais3_1.1.1-1_amd64.deb) ...
Selecting previously deselected package libcap-ng0.
Unpacking libcap-ng0 (from .../libcap-ng0_0.6.2-4_amd64.deb) ...
Selecting previously deselected package libxenstore3.0.
Unpacking libxenstore3.0 (from .../libxenstore3.0_3.4.2-2_amd64.deb) ...
Selecting previously deselected package libvirt0.
Unpacking libvirt0 (from .../libvirt0_0.7.5-5_amd64.deb) ...
Selecting previously deselected package corosync.
Unpacking corosync (from .../corosync_1.2.0-1_amd64.deb) ...
Selecting previously deselected package openais.
Unpacking openais (from .../openais_1.1.1-1_amd64.deb) ...
Selecting previously deselected package python2.5-minimal.
Unpacking python2.5-minimal (from .../python2.5-minimal_2.5.4-3_amd64.deb) ...
Selecting previously deselected package mime-support.
Unpacking mime-support (from .../mime-support_3.48-1_all.deb) ...
Selecting previously deselected package libdb4.5.
Unpacking libdb4.5 (from .../libdb4.5_4.5.20-13.1_amd64.deb) ...
Selecting previously deselected package python2.5.
Unpacking python2.5 (from .../python2.5_2.5.4-3_amd64.deb) ...
Selecting previously deselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.5.4-5_all.deb) ...
Selecting previously deselected package python.
Unpacking python (from .../python_2.5.4-5_all.deb) ...
Selecting previously deselected package libopenipmi0.
Unpacking libopenipmi0 (from .../libopenipmi0_2.0.16-1_amd64.deb) ...
Selecting previously deselected package libsnmp-base.
Unpacking libsnmp-base (from .../libsnmp-base_5.4.2.1~dfsg-5_all.deb) ...
Selecting previously deselected package libperl5.10.
Unpacking libperl5.10 (from .../libperl5.10_5.10.1-9_amd64.deb) ...
Selecting previously deselected package libsensors4.
Unpacking libsensors4 (from .../libsensors4_1%3a3.1.1-4_amd64.deb) ...
/var/lib/dpkg/tmp.ci/preinst: 29: ucf: not found
Selecting previously deselected package libsnmp15.
Unpacking libsnmp15 (from .../libsnmp15_5.4.2.1~dfsg-5_amd64.deb) ...
Selecting previously deselected package openipmi.
Unpacking openipmi (from .../openipmi_2.0.16-1_amd64.deb) ...
Selecting previously deselected package libsgutils2-2.
Unpacking libsgutils2-2 (from .../libsgutils2-2_1.28-2_amd64.deb) ...
Selecting previously deselected package sg3-utils.
Unpacking sg3-utils (from .../sg3-utils_1.28-2_amd64.deb) ...
Selecting previously deselected package python-central.
Unpacking python-central (from .../python-central_0.6.14+nmu2_all.deb) ...
Selecting previously deselected package python-pexpect.
Unpacking python-pexpect (from .../python-pexpect_2.3-1_all.deb) ...
Selecting previously deselected package libnet-snmp-perl.
Unpacking libnet-snmp-perl (from .../libnet-snmp-perl_5.2.0-3_all.deb) ...
Selecting previously deselected package libnet-telnet-perl.
Unpacking libnet-telnet-perl (from .../libnet-telnet-perl_3.03-3_all.deb) ...
Selecting previously deselected package snmp.
Unpacking snmp (from .../snmp_5.4.2.1~dfsg-5_amd64.deb) ...
Selecting previously deselected package telnet.
Unpacking telnet (from .../telnet_0.17-36_amd64.deb) ...
Selecting previously deselected package libbsd0.
Unpacking libbsd0 (from .../libbsd0_0.2.0-1_amd64.deb) ...
Selecting previously deselected package libedit2.
Unpacking libedit2 (from .../libedit2_2.11-20080614-1_amd64.deb) ...
Selecting previously deselected package openssh-client.
Unpacking openssh-client (from .../openssh-client_1%3a5.2p1-2_amd64.deb) ...
Selecting previously deselected package python-support.
Unpacking python-support (from .../python-support_1.0.6_all.deb) ...
Selecting previously deselected package python-openssl.
Unpacking python-openssl (from .../python-openssl_0.9-1_amd64.deb) ...
Selecting previously deselected package libxml2-utils.
Unpacking libxml2-utils (from .../libxml2-utils_2.7.6.dfsg-2_amd64.deb) ...
Selecting previously deselected package cman.
Unpacking cman (from .../cman_3.0.6-4_amd64.deb) ...
Selecting previously deselected package gawk.
Unpacking gawk (from .../gawk_1%3a3.1.6.dfsg-4_amd64.deb) ...
Selecting previously deselected package libevent-1.4-2.
Unpacking libevent-1.4-2 (from .../libevent-1.4-2_1.4.13-stable-1_amd64.deb) ...
Selecting previously deselected package libgssglue1.
Unpacking libgssglue1 (from .../libgssglue1_0.1-4_amd64.deb) ...
Selecting previously deselected package libnfsidmap2.
Unpacking libnfsidmap2 (from .../libnfsidmap2_0.23-2_amd64.deb) ...
Selecting previously deselected package librpcsecgss3.
Unpacking librpcsecgss3 (from .../librpcsecgss3_0.19-2_amd64.deb) ...
Selecting previously deselected package portmap.
Unpacking portmap (from .../portmap_6.0.0-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 nfs-common.
Unpacking nfs-common (from .../nfs-common_1%3a1.2.1-3_amd64.deb) ...
Selecting previously deselected package nfs-kernel-server.
Unpacking nfs-kernel-server (from .../nfs-kernel-server_1%3a1.2.1-3_amd64.deb) ...
Selecting previously deselected package iputils-arping.
Unpacking iputils-arping (from .../iputils-arping_3%3a20071127-2_amd64.deb) ...
Selecting previously deselected package rgmanager.
Unpacking rgmanager (from .../rgmanager_3.0.6-4_amd64.deb) ...
Selecting previously deselected package drbd8-utils.
Unpacking drbd8-utils (from .../drbd8-utils_2%3a8.3.7-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/drbd8-utils_2%3a8.3.7-1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/cluster/drbd.sh', which is also in package rgmanager 0:3.0.6-4
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/drbd8-utils_2%3a8.3.7-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
cow-shell unlink .ilist: No such file or directory


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/cluster/drbd.metadata
  /usr/share/cluster/drbd.sh

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/.





More information about the Debian-ha-maintainers mailing list