[Debian-ha-maintainers] Bug#639274: rgmanager and resource-agents: error when trying to install together

Ralf Treinen rt at murdock.inria.fr
Thu Aug 25 13:27:49 UTC 2011


Package: resource-agents,rgmanager
Version: resource-agents/1:3.9.2-1
Version: rgmanager/3.0.12-2+b1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2011-08-25
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!
  libbsd0 libedit2 libkeyutils1 libkrb5support0 libk5crypto3 libkrb5-3
  libgssapi-krb5-2 libsasl2-2 libldap-2.4-2 libpcre3 libgssglue1 libtirpc1
  libwrap0 libnspr4-0d libnss3-1d libcorosync4 libxml2 libccs3 libcman3
  libdlm3 libdlmcontrol3 libfence4 liblogthread3 libopenais3 libcap-ng0
  dmsetup libdevmapper1.02.1 libnl1 libpcap0.8 libxenstore3.0 libyajl1
  libvirt0 corosync openais python2.6-minimal mime-support libdb4.8 libexpat1
  python2.6 python-minimal python libopenipmi0 libsnmp-base libperl5.12
  libsensors4 libsnmp15 openipmi libsgutils2-2 sg3-utils python-central
  python-pexpect libnet-snmp-perl libnet-telnet-perl snmp telnet
  openssh-client python-support python-openssl libxml2-utils cman libsigsegv2
  gawk librtmp0 libssh2-1 openssl ca-certificates libcurl3 libcap2
  libevent-1.4-2 libnfsidmap2 rpcbind ucf nfs-common libglib2.0-0 libltdl7
  libpils2 libplumb2 liblrm2 libopenhpi2 libplumbgpl2 libstonith1
  libtimedate-perl cluster-glue libnet1 libsysfs2 nfs-kernel-server
  resource-agents iputils-arping rgmanager

Extracting templates from packages: 33%
Extracting templates from packages: 67%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libbsd0.
(Reading database ... 10663 files and directories currently installed.)
Unpacking libbsd0 (from .../libbsd0_0.3.0-1_amd64.deb) ...
Selecting previously deselected package libedit2.
Unpacking libedit2 (from .../libedit2_2.11-20080614-2.2_amd64.deb) ...
Selecting previously deselected package libkeyutils1.
Unpacking libkeyutils1 (from .../libkeyutils1_1.5.2-2_amd64.deb) ...
Selecting previously deselected package libkrb5support0.
Unpacking libkrb5support0 (from .../libkrb5support0_1.9.1+dfsg-2_amd64.deb) ...
Selecting previously deselected package libk5crypto3.
Unpacking libk5crypto3 (from .../libk5crypto3_1.9.1+dfsg-2_amd64.deb) ...
Selecting previously deselected package libkrb5-3.
Unpacking libkrb5-3 (from .../libkrb5-3_1.9.1+dfsg-2_amd64.deb) ...
Selecting previously deselected package libgssapi-krb5-2.
Unpacking libgssapi-krb5-2 (from .../libgssapi-krb5-2_1.9.1+dfsg-2_amd64.deb) ...
Selecting previously deselected package libsasl2-2.
Unpacking libsasl2-2 (from .../libsasl2-2_2.1.24~rc1.dfsg1+cvs2011-05-23-6_amd64.deb) ...
Selecting previously deselected package libldap-2.4-2.
Unpacking libldap-2.4-2 (from .../libldap-2.4-2_2.4.25-3_amd64.deb) ...
Selecting previously deselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_8.12-4_amd64.deb) ...
Selecting previously deselected package libgssglue1.
Unpacking libgssglue1 (from .../libgssglue1_0.3-2_amd64.deb) ...
Selecting previously deselected package libtirpc1.
Unpacking libtirpc1 (from .../libtirpc1_0.2.2-5_amd64.deb) ...
Selecting previously deselected package libwrap0.
Unpacking libwrap0 (from .../libwrap0_7.6.q-21_amd64.deb) ...
Selecting previously deselected package libnspr4-0d.
Unpacking libnspr4-0d (from .../libnspr4-0d_4.8.9-1_amd64.deb) ...
Selecting previously deselected package libnss3-1d.
Unpacking libnss3-1d (from .../libnss3-1d_3.12.11-1_amd64.deb) ...
Selecting previously deselected package libcorosync4.
Unpacking libcorosync4 (from .../libcorosync4_1.4.1-1_amd64.deb) ...
Selecting previously deselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-4_amd64.deb) ...
Selecting previously deselected package libccs3.
Unpacking libccs3 (from .../libccs3_3.0.12-2+b1_amd64.deb) ...
Selecting previously deselected package libcman3.
Unpacking libcman3 (from .../libcman3_3.0.12-2+b1_amd64.deb) ...
Selecting previously deselected package libdlm3.
Unpacking libdlm3 (from .../libdlm3_3.0.12-2+b1_amd64.deb) ...
Selecting previously deselected package libdlmcontrol3.
Unpacking libdlmcontrol3 (from .../libdlmcontrol3_3.0.12-2+b1_amd64.deb) ...
Selecting previously deselected package libfence4.
Unpacking libfence4 (from .../libfence4_3.0.12-2+b1_amd64.deb) ...
Selecting previously deselected package liblogthread3.
Unpacking liblogthread3 (from .../liblogthread3_3.0.12-2+b1_amd64.deb) ...
Selecting previously deselected package libopenais3.
Unpacking libopenais3 (from .../libopenais3_1.1.2-2_amd64.deb) ...
Selecting previously deselected package libcap-ng0.
Unpacking libcap-ng0 (from .../libcap-ng0_0.6.6-1_amd64.deb) ...
Selecting previously deselected package dmsetup.
Unpacking dmsetup (from .../dmsetup_2%3a1.02.63-3.1_amd64.deb) ...
Selecting previously deselected package libdevmapper1.02.1.
Unpacking libdevmapper1.02.1 (from .../libdevmapper1.02.1_2%3a1.02.63-3.1_amd64.deb) ...
Selecting previously deselected package libnl1.
Unpacking libnl1 (from .../libnl1_1.1-7_amd64.deb) ...
Selecting previously deselected package libpcap0.8.
Unpacking libpcap0.8 (from .../libpcap0.8_1.1.1-8_amd64.deb) ...
Selecting previously deselected package libxenstore3.0.
Unpacking libxenstore3.0 (from .../libxenstore3.0_4.1.1-2_amd64.deb) ...
Selecting previously deselected package libyajl1.
Unpacking libyajl1 (from .../libyajl1_1.0.12-1_amd64.deb) ...
Selecting previously deselected package libvirt0.
Unpacking libvirt0 (from .../libvirt0_0.9.4-2_amd64.deb) ...
Selecting previously deselected package corosync.
Unpacking corosync (from .../corosync_1.4.1-1_amd64.deb) ...
Selecting previously deselected package openais.
Unpacking openais (from .../openais_1.1.2-2_amd64.deb) ...
Selecting previously deselected package python2.6-minimal.
Unpacking python2.6-minimal (from .../python2.6-minimal_2.6.7-4_amd64.deb) ...
Selecting previously deselected package mime-support.
Unpacking mime-support (from .../mime-support_3.51-1_all.deb) ...
Selecting previously deselected package libdb4.8.
Unpacking libdb4.8 (from .../libdb4.8_4.8.30-9_amd64.deb) ...
Selecting previously deselected package libexpat1.
Unpacking libexpat1 (from .../libexpat1_2.0.1-7_amd64.deb) ...
Selecting previously deselected package python2.6.
Unpacking python2.6 (from .../python2.6_2.6.7-4_amd64.deb) ...
Selecting previously deselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.6.7-3_all.deb) ...
Selecting previously deselected package python.
Unpacking python (from .../python_2.6.7-3_all.deb) ...
Selecting previously deselected package libopenipmi0.
Unpacking libopenipmi0 (from .../libopenipmi0_2.0.16-1.3_amd64.deb) ...
Selecting previously deselected package libsnmp-base.
Unpacking libsnmp-base (from .../libsnmp-base_5.4.3~dfsg-2.2_all.deb) ...
Selecting previously deselected package libperl5.12.
Unpacking libperl5.12 (from .../libperl5.12_5.12.4-4_amd64.deb) ...
Selecting previously deselected package libsensors4.
Unpacking libsensors4 (from .../libsensors4_1%3a3.3.0-4_amd64.deb) ...
Selecting previously deselected package libsnmp15.
Unpacking libsnmp15 (from .../libsnmp15_5.4.3~dfsg-2.2_amd64.deb) ...
Selecting previously deselected package openipmi.
Unpacking openipmi (from .../openipmi_2.0.16-1.3_amd64.deb) ...
Selecting previously deselected package libsgutils2-2.
Unpacking libsgutils2-2 (from .../libsgutils2-2_1.32-1_amd64.deb) ...
Selecting previously deselected package sg3-utils.
Unpacking sg3-utils (from .../sg3-utils_1.32-1_amd64.deb) ...
Selecting previously deselected package python-central.
Unpacking python-central (from .../python-central_0.6.17_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_6.0.1-2_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.3~dfsg-2.2_amd64.deb) ...
Selecting previously deselected package telnet.
Unpacking telnet (from .../telnet_0.17-36_amd64.deb) ...
Selecting previously deselected package openssh-client.
Unpacking openssh-client (from .../openssh-client_1%3a5.8p1-7_amd64.deb) ...
Selecting previously deselected package python-support.
Unpacking python-support (from .../python-support_1.0.14_all.deb) ...
Selecting previously deselected package python-openssl.
Unpacking python-openssl (from .../python-openssl_0.13~a1-1_amd64.deb) ...
Selecting previously deselected package libxml2-utils.
Unpacking libxml2-utils (from .../libxml2-utils_2.7.8.dfsg-4_amd64.deb) ...
Selecting previously deselected package cman.
Unpacking cman (from .../cman_3.0.12-2+b1_amd64.deb) ...
Selecting previously deselected package libsigsegv2.
Unpacking libsigsegv2 (from .../libsigsegv2_2.9-4_amd64.deb) ...
Processing triggers for man-db ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up libsigsegv2 (2.9-4) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package gawk.
(Reading database ... 12762 files and directories currently installed.)
Unpacking gawk (from .../gawk_1%3a3.1.8+dfsg-0.1_amd64.deb) ...
Selecting previously deselected package librtmp0.
Unpacking librtmp0 (from .../librtmp0_2.4~20110711.gitc28f1bab-1_amd64.deb) ...
Selecting previously deselected package libssh2-1.
Unpacking libssh2-1 (from .../libssh2-1_1.2.8-2_amd64.deb) ...
Selecting previously deselected package openssl.
Unpacking openssl (from .../openssl_1.0.0d-3_amd64.deb) ...
Selecting previously deselected package ca-certificates.
Unpacking ca-certificates (from .../ca-certificates_20110502_all.deb) ...
Selecting previously deselected package libcurl3.
Unpacking libcurl3 (from .../libcurl3_7.21.7-1_amd64.deb) ...
Selecting previously deselected package libcap2.
Unpacking libcap2 (from .../libcap2_1%3a2.22-1_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 libnfsidmap2.
Unpacking libnfsidmap2 (from .../libnfsidmap2_0.24-1_amd64.deb) ...
Selecting previously deselected package rpcbind.
Unpacking rpcbind (from .../rpcbind_0.2.0-6_amd64.deb) ...
Selecting previously deselected package ucf.
Unpacking ucf (from .../ucf_3.0025+nmu2_all.deb) ...
Moving old data out of the way
Selecting previously deselected package nfs-common.
Unpacking nfs-common (from .../nfs-common_1%3a1.2.4-1_amd64.deb) ...
Selecting previously deselected package libglib2.0-0.
Unpacking libglib2.0-0 (from .../libglib2.0-0_2.28.6-1_amd64.deb) ...
Selecting previously deselected package libltdl7.
Unpacking libltdl7 (from .../libltdl7_2.4-4_amd64.deb) ...
Selecting previously deselected package libpils2.
Unpacking libpils2 (from .../libpils2_1.0.7+hg2618-1_amd64.deb) ...
Selecting previously deselected package libplumb2.
Unpacking libplumb2 (from .../libplumb2_1.0.7+hg2618-1_amd64.deb) ...
Selecting previously deselected package liblrm2.
Unpacking liblrm2 (from .../liblrm2_1.0.7+hg2618-1_amd64.deb) ...
Selecting previously deselected package libopenhpi2.
Unpacking libopenhpi2 (from .../libopenhpi2_2.14.1-1.1_amd64.deb) ...
Selecting previously deselected package libplumbgpl2.
Unpacking libplumbgpl2 (from .../libplumbgpl2_1.0.7+hg2618-1_amd64.deb) ...
Selecting previously deselected package libstonith1.
Unpacking libstonith1 (from .../libstonith1_1.0.7+hg2618-1_amd64.deb) ...
Selecting previously deselected package libtimedate-perl.
Unpacking libtimedate-perl (from .../libtimedate-perl_1.2000-1_all.deb) ...
Selecting previously deselected package cluster-glue.
Unpacking cluster-glue (from .../cluster-glue_1.0.7+hg2618-1_amd64.deb) ...
Selecting previously deselected package libnet1.
Unpacking libnet1 (from .../libnet1_1.1.4-2_amd64.deb) ...
Selecting previously deselected package libsysfs2.
Unpacking libsysfs2 (from .../libsysfs2_2.1.0+repack-1_amd64.deb) ...
Selecting previously deselected package nfs-kernel-server.
Unpacking nfs-kernel-server (from .../nfs-kernel-server_1%3a1.2.4-1_amd64.deb) ...
Selecting previously deselected package resource-agents.
Unpacking resource-agents (from .../resource-agents_1%3a3.9.2-1_amd64.deb) ...
Selecting previously deselected package iputils-arping.
Unpacking iputils-arping (from .../iputils-arping_3%3a20101006-1+b1_amd64.deb) ...
Selecting previously deselected package rgmanager.
Unpacking rgmanager (from .../rgmanager_3.0.12-2+b1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/rgmanager_3.0.12-2+b1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/cluster/clusterfs.sh', which is also in package resource-agents 1:3.9.2-1
configured to not write apport reports
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/rgmanager_3.0.12-2+b1_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/cluster/ASEHAagent.sh
  /usr/share/cluster/SAPDatabase
  /usr/share/cluster/SAPInstance
  /usr/share/cluster/apache.metadata
  /usr/share/cluster/apache.sh
  /usr/share/cluster/clusterfs.sh
  /usr/share/cluster/fs.sh
  /usr/share/cluster/ip.sh
  /usr/share/cluster/lvm.metadata
  /usr/share/cluster/lvm.sh
  /usr/share/cluster/lvm_by_lv.sh
  /usr/share/cluster/lvm_by_vg.sh
  /usr/share/cluster/mysql.metadata
  /usr/share/cluster/mysql.sh
  /usr/share/cluster/named.metadata
  /usr/share/cluster/named.sh
  /usr/share/cluster/netfs.sh
  /usr/share/cluster/nfsclient.sh
  /usr/share/cluster/nfsexport.sh
  /usr/share/cluster/ocf-shellfuncs
  /usr/share/cluster/openldap.metadata
  /usr/share/cluster/openldap.sh
  /usr/share/cluster/oracledb.sh
  /usr/share/cluster/postgres-8.metadata
  /usr/share/cluster/postgres-8.sh
  /usr/share/cluster/samba.metadata
  /usr/share/cluster/samba.sh
  /usr/share/cluster/script.sh
  /usr/share/cluster/service.sh
  /usr/share/cluster/smb.sh
  /usr/share/cluster/svclib_nfslock
  /usr/share/cluster/tomcat-5.metadata
  /usr/share/cluster/tomcat-5.sh
  /usr/share/cluster/utils/config-utils.sh
  /usr/share/cluster/utils/fs-lib.sh
  /usr/share/cluster/utils/httpd-parse-config.pl
  /usr/share/cluster/utils/member_util.sh
  /usr/share/cluster/utils/messages.sh
  /usr/share/cluster/utils/ra-skelet.sh
  /usr/share/cluster/utils/tomcat-parse-config.pl
  /usr/share/cluster/vm.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. You may
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-ha-maintainers mailing list