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

Ralf Treinen treinen at debian.org
Thu Nov 17 09:59:57 UTC 2011


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

Date: 2011-11-17
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!
  perl libtext-charwidth-perl perl-base liblocale-gettext-perl
  libtext-iconv-perl perl-modules libswitch-perl libclass-isa-perl libtinfo5
  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 libsackpt3
  libavahi-common-data libavahi-common3 libdbus-1-3 libavahi-client3
  libcap-ng0 dmsetup libdevmapper1.02.1 libnl1 libnuma1 libpcap0.8
  libxenstore3.0 libyajl1 libvirt0 corosync libsaamf3 libsaclm3 libsaevt3
  libsalck3 libsamsg4 libsatmr3 openais python2.7-minimal mime-support
  libdb4.8 libexpat1 python2.7 python-minimal python libopenipmi0 libsnmp-base
  libperl5.14 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
  libglib2.0-0 libdbus-glib-1-2 libltdl7 libcap2 libevent-1.4-2 libnfsidmap2
  rpcbind ucf nfs-common libpils2 libplumb2 liblrm2 libopenhpi2 libplumbgpl2
  libstonith1 libtimedate-perl cluster-glue libnet1 libsysfs2
  nfs-kernel-server resource-agents iputils-arping rgmanager

Extracting templates from packages: 27%
Extracting templates from packages: 54%
Extracting templates from packages: 81%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 10587 files and directories currently installed.)
Preparing to replace perl 5.12.4-6 (using .../perl_5.14.2-4_amd64.deb) ...
Unpacking replacement perl ...
Preparing to replace libtext-charwidth-perl 0.04-7 (using .../libtext-charwidth-perl_0.04-7+b1_amd64.deb) ...
Unpacking replacement libtext-charwidth-perl ...
Preparing to replace perl-base 5.12.4-6 (using .../perl-base_5.14.2-4_amd64.deb) ...
Unpacking replacement perl-base ...
Processing triggers for man-db ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up perl-base (5.14.2-4) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 10618 files and directories currently installed.)
Preparing to replace liblocale-gettext-perl 1.05-7 (using .../liblocale-gettext-perl_1.05-7+b1_amd64.deb) ...
Unpacking replacement liblocale-gettext-perl ...
Preparing to replace libtext-iconv-perl 1.7-4 (using .../libtext-iconv-perl_1.7-4+b1_amd64.deb) ...
Unpacking replacement libtext-iconv-perl ...
Preparing to replace perl-modules 5.12.4-6 (using .../perl-modules_5.14.2-4_all.deb) ...
Unpacking replacement perl-modules ...
Selecting previously unselected package libswitch-perl.
Unpacking libswitch-perl (from .../libswitch-perl_2.16-2_all.deb) ...
Selecting previously unselected package libclass-isa-perl.
Unpacking libclass-isa-perl (from .../libclass-isa-perl_0.36-2_all.deb) ...
Selecting previously unselected package libtinfo5.
Unpacking libtinfo5 (from .../libtinfo5_5.9-4_amd64.deb) ...
Selecting previously unselected package libbsd0.
Unpacking libbsd0 (from .../libbsd0_0.3.0-1_amd64.deb) ...
Selecting previously unselected package libedit2.
Unpacking libedit2 (from .../libedit2_2.11-20080614-3_amd64.deb) ...
Selecting previously unselected package libkeyutils1.
Unpacking libkeyutils1 (from .../libkeyutils1_1.5.2-2_amd64.deb) ...
Selecting previously unselected package libkrb5support0.
Unpacking libkrb5support0 (from .../libkrb5support0_1.9.1+dfsg-3_amd64.deb) ...
Selecting previously unselected package libk5crypto3.
Unpacking libk5crypto3 (from .../libk5crypto3_1.9.1+dfsg-3_amd64.deb) ...
Selecting previously unselected package libkrb5-3.
Unpacking libkrb5-3 (from .../libkrb5-3_1.9.1+dfsg-3_amd64.deb) ...
Selecting previously unselected package libgssapi-krb5-2.
Unpacking libgssapi-krb5-2 (from .../libgssapi-krb5-2_1.9.1+dfsg-3_amd64.deb) ...
Selecting previously unselected package libsasl2-2.
Unpacking libsasl2-2 (from .../libsasl2-2_2.1.25.dfsg1-2_amd64.deb) ...
Selecting previously unselected package libldap-2.4-2.
Unpacking libldap-2.4-2 (from .../libldap-2.4-2_2.4.25-4+b1_amd64.deb) ...
Selecting previously unselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_8.12-4_amd64.deb) ...
Selecting previously unselected package libgssglue1.
Unpacking libgssglue1 (from .../libgssglue1_0.3-3.1_amd64.deb) ...
Selecting previously unselected package libtirpc1.
Unpacking libtirpc1 (from .../libtirpc1_0.2.2-5_amd64.deb) ...
Selecting previously unselected package libwrap0.
Unpacking libwrap0 (from .../libwrap0_7.6.q-21_amd64.deb) ...
Selecting previously unselected package libnspr4-0d.
Unpacking libnspr4-0d (from .../libnspr4-0d_4.8.9-1_amd64.deb) ...
Selecting previously unselected package libnss3-1d.
Unpacking libnss3-1d (from .../libnss3-1d_3.13.1.with.ckbi.1.88-1_amd64.deb) ...
Selecting previously unselected package libcorosync4.
Unpacking libcorosync4 (from .../libcorosync4_1.4.2-1_amd64.deb) ...
Selecting previously unselected package libxml2.
Unpacking libxml2 (from .../libxml2_2.7.8.dfsg-5_amd64.deb) ...
Selecting previously unselected package libccs3.
Unpacking libccs3 (from .../libccs3_3.0.12-3_amd64.deb) ...
Selecting previously unselected package libcman3.
Unpacking libcman3 (from .../libcman3_3.0.12-3_amd64.deb) ...
Selecting previously unselected package libdlm3.
Unpacking libdlm3 (from .../libdlm3_3.0.12-3_amd64.deb) ...
Selecting previously unselected package libdlmcontrol3.
Unpacking libdlmcontrol3 (from .../libdlmcontrol3_3.0.12-3_amd64.deb) ...
Selecting previously unselected package libfence4.
Unpacking libfence4 (from .../libfence4_3.0.12-3_amd64.deb) ...
Selecting previously unselected package liblogthread3.
Unpacking liblogthread3 (from .../liblogthread3_3.0.12-3_amd64.deb) ...
Selecting previously unselected package libsackpt3.
Unpacking libsackpt3 (from .../libsackpt3_1.1.4-3_amd64.deb) ...
Selecting previously unselected package libavahi-common-data.
Unpacking libavahi-common-data (from .../libavahi-common-data_0.6.30-5_amd64.deb) ...
Selecting previously unselected package libavahi-common3.
Unpacking libavahi-common3 (from .../libavahi-common3_0.6.30-5_amd64.deb) ...
Selecting previously unselected package libdbus-1-3.
Unpacking libdbus-1-3 (from .../libdbus-1-3_1.4.16-1_amd64.deb) ...
Selecting previously unselected package libavahi-client3.
Unpacking libavahi-client3 (from .../libavahi-client3_0.6.30-5_amd64.deb) ...
Selecting previously unselected package libcap-ng0.
Unpacking libcap-ng0 (from .../libcap-ng0_0.6.6-1_amd64.deb) ...
Selecting previously unselected package dmsetup.
Unpacking dmsetup (from .../dmsetup_2%3a1.02.67-1_amd64.deb) ...
Selecting previously unselected package libdevmapper1.02.1.
Unpacking libdevmapper1.02.1 (from .../libdevmapper1.02.1_2%3a1.02.67-1_amd64.deb) ...
Selecting previously unselected package libnl1.
Unpacking libnl1 (from .../libnl1_1.1-7_amd64.deb) ...
Selecting previously unselected package libnuma1.
Unpacking libnuma1 (from .../libnuma1_2.0.5-1_amd64.deb) ...
Selecting previously unselected package libpcap0.8.
Unpacking libpcap0.8 (from .../libpcap0.8_1.1.1-10_amd64.deb) ...
Selecting previously unselected package libxenstore3.0.
Unpacking libxenstore3.0 (from .../libxenstore3.0_4.1.1-3_amd64.deb) ...
Selecting previously unselected package libyajl1.
Unpacking libyajl1 (from .../libyajl1_1.0.12-2_amd64.deb) ...
Selecting previously unselected package libvirt0.
Unpacking libvirt0 (from .../libvirt0_0.9.7-2_amd64.deb) ...
Selecting previously unselected package corosync.
Unpacking corosync (from .../corosync_1.4.2-1_amd64.deb) ...
Selecting previously unselected package libsaamf3.
Unpacking libsaamf3 (from .../libsaamf3_1.1.4-3_amd64.deb) ...
Selecting previously unselected package libsaclm3.
Unpacking libsaclm3 (from .../libsaclm3_1.1.4-3_amd64.deb) ...
Selecting previously unselected package libsaevt3.
Unpacking libsaevt3 (from .../libsaevt3_1.1.4-3_amd64.deb) ...
Selecting previously unselected package libsalck3.
Unpacking libsalck3 (from .../libsalck3_1.1.4-3_amd64.deb) ...
Selecting previously unselected package libsamsg4.
Unpacking libsamsg4 (from .../libsamsg4_1.1.4-3_amd64.deb) ...
Selecting previously unselected package libsatmr3.
Unpacking libsatmr3 (from .../libsatmr3_1.1.4-3_amd64.deb) ...
Selecting previously unselected package openais.
Unpacking openais (from .../openais_1.1.4-3_amd64.deb) ...
Selecting previously unselected package python2.7-minimal.
Unpacking python2.7-minimal (from .../python2.7-minimal_2.7.2-7_amd64.deb) ...
Selecting previously unselected package mime-support.
Unpacking mime-support (from .../mime-support_3.51-1_all.deb) ...
Selecting previously unselected package libdb4.8.
Unpacking libdb4.8 (from .../libdb4.8_4.8.30-10_amd64.deb) ...
Selecting previously unselected package libexpat1.
Unpacking libexpat1 (from .../libexpat1_2.0.1-7.2_amd64.deb) ...
Selecting previously unselected package python2.7.
Unpacking python2.7 (from .../python2.7_2.7.2-7_amd64.deb) ...
Selecting previously unselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.7.2-9_all.deb) ...
Selecting previously unselected package python.
Unpacking python (from .../python_2.7.2-9_all.deb) ...
Selecting previously unselected package libopenipmi0.
Unpacking libopenipmi0 (from .../libopenipmi0_2.0.16-1.3_amd64.deb) ...
Selecting previously unselected package libsnmp-base.
Unpacking libsnmp-base (from .../libsnmp-base_5.4.3~dfsg-2.3_all.deb) ...
Selecting previously unselected package libperl5.14.
Unpacking libperl5.14 (from .../libperl5.14_5.14.2-4_amd64.deb) ...
Selecting previously unselected package libsensors4.
Unpacking libsensors4 (from .../libsensors4_1%3a3.3.1-1_amd64.deb) ...
Selecting previously unselected package libsnmp15.
Unpacking libsnmp15 (from .../libsnmp15_5.4.3~dfsg-2.3+b1_amd64.deb) ...
Selecting previously unselected package openipmi.
Unpacking openipmi (from .../openipmi_2.0.16-1.3_amd64.deb) ...
Selecting previously unselected package libsgutils2-2.
Unpacking libsgutils2-2 (from .../libsgutils2-2_1.32-1_amd64.deb) ...
Selecting previously unselected package sg3-utils.
Unpacking sg3-utils (from .../sg3-utils_1.32-1_amd64.deb) ...
Selecting previously unselected package python-central.
Unpacking python-central (from .../python-central_0.6.17_all.deb) ...
Selecting previously unselected package python-pexpect.
Unpacking python-pexpect (from .../python-pexpect_2.3-1_all.deb) ...
Selecting previously unselected package libnet-snmp-perl.
Unpacking libnet-snmp-perl (from .../libnet-snmp-perl_6.0.1-2_all.deb) ...
Selecting previously unselected package libnet-telnet-perl.
Unpacking libnet-telnet-perl (from .../libnet-telnet-perl_3.03-3_all.deb) ...
Selecting previously unselected package snmp.
Unpacking snmp (from .../snmp_5.4.3~dfsg-2.3+b1_amd64.deb) ...
Selecting previously unselected package telnet.
Unpacking telnet (from .../telnet_0.17-36_amd64.deb) ...
Selecting previously unselected package openssh-client.
Unpacking openssh-client (from .../openssh-client_1%3a5.9p1-2_amd64.deb) ...
Selecting previously unselected package python-support.
Unpacking python-support (from .../python-support_1.0.14_all.deb) ...
Selecting previously unselected package python-openssl.
Unpacking python-openssl (from .../python-openssl_0.13-1_amd64.deb) ...
Selecting previously unselected package libxml2-utils.
Unpacking libxml2-utils (from .../libxml2-utils_2.7.8.dfsg-5_amd64.deb) ...
Selecting previously unselected package cman.
Unpacking cman (from .../cman_3.0.12-3_amd64.deb) ...
Selecting previously unselected 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 unselected package gawk.
(Reading database ... 12920 files and directories currently installed.)
Unpacking gawk (from .../gawk_1%3a3.1.8+dfsg-0.1_amd64.deb) ...
Selecting previously unselected package librtmp0.
Unpacking librtmp0 (from .../librtmp0_2.4~20110711.gitc28f1bab-1_amd64.deb) ...
Selecting previously unselected package libssh2-1.
Unpacking libssh2-1 (from .../libssh2-1_1.2.8-2_amd64.deb) ...
Selecting previously unselected package openssl.
Unpacking openssl (from .../openssl_1.0.0e-2.1_amd64.deb) ...
Selecting previously unselected package ca-certificates.
Unpacking ca-certificates (from .../ca-certificates_20111025_all.deb) ...
Selecting previously unselected package libcurl3.
Unpacking libcurl3 (from .../libcurl3_7.22.0-3_amd64.deb) ...
Selecting previously unselected package libglib2.0-0.
Unpacking libglib2.0-0 (from .../libglib2.0-0_2.28.8-1_amd64.deb) ...
Selecting previously unselected package libdbus-glib-1-2.
Unpacking libdbus-glib-1-2 (from .../libdbus-glib-1-2_0.98-1_amd64.deb) ...
Selecting previously unselected package libltdl7.
Unpacking libltdl7 (from .../libltdl7_2.4.2-1_amd64.deb) ...
Selecting previously unselected package libcap2.
Unpacking libcap2 (from .../libcap2_1%3a2.22-1_amd64.deb) ...
Selecting previously unselected package libevent-1.4-2.
Unpacking libevent-1.4-2 (from .../libevent-1.4-2_1.4.14b-stable-1_amd64.deb) ...
Selecting previously unselected package libnfsidmap2.
Unpacking libnfsidmap2 (from .../libnfsidmap2_0.24-1_amd64.deb) ...
Selecting previously unselected package rpcbind.
Unpacking rpcbind (from .../rpcbind_0.2.0-6_amd64.deb) ...
Selecting previously unselected package ucf.
Unpacking ucf (from .../ucf_3.0025+nmu2_all.deb) ...
Moving old data out of the way
Selecting previously unselected package nfs-common.
Unpacking nfs-common (from .../nfs-common_1%3a1.2.5-2_amd64.deb) ...
Selecting previously unselected package libpils2.
Unpacking libpils2 (from .../libpils2_1.0.8-3_amd64.deb) ...
Selecting previously unselected package libplumb2.
Unpacking libplumb2 (from .../libplumb2_1.0.8-3_amd64.deb) ...
Selecting previously unselected package liblrm2.
Unpacking liblrm2 (from .../liblrm2_1.0.8-3_amd64.deb) ...
Selecting previously unselected package libopenhpi2.
Unpacking libopenhpi2 (from .../libopenhpi2_2.14.1-1.1_amd64.deb) ...
Selecting previously unselected package libplumbgpl2.
Unpacking libplumbgpl2 (from .../libplumbgpl2_1.0.8-3_amd64.deb) ...
Selecting previously unselected package libstonith1.
Unpacking libstonith1 (from .../libstonith1_1.0.8-3_amd64.deb) ...
Selecting previously unselected package libtimedate-perl.
Unpacking libtimedate-perl (from .../libtimedate-perl_1.2000-1_all.deb) ...
Selecting previously unselected package cluster-glue.
Unpacking cluster-glue (from .../cluster-glue_1.0.8-3_amd64.deb) ...
Selecting previously unselected package libnet1.
Unpacking libnet1 (from .../libnet1_1.1.4-2.1_amd64.deb) ...
Selecting previously unselected package libsysfs2.
Unpacking libsysfs2 (from .../libsysfs2_2.1.0+repack-1_amd64.deb) ...
Selecting previously unselected package nfs-kernel-server.
Unpacking nfs-kernel-server (from .../nfs-kernel-server_1%3a1.2.5-2_amd64.deb) ...
Selecting previously unselected package resource-agents.
Unpacking resource-agents (from .../resource-agents_1%3a3.9.2-5_amd64.deb) ...
Selecting previously unselected package iputils-arping.
Unpacking iputils-arping (from .../iputils-arping_3%3a20101006-1+b1_amd64.deb) ...
Selecting previously unselected package rgmanager.
Unpacking rgmanager (from .../rgmanager_3.0.12-3_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/rgmanager_3.0.12-3_amd64.deb (--unpack):
 trying to overwrite '/usr/share/cluster/openldap.metadata', which is also in package resource-agents 1:3.9.2-5
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-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/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 has been filed against 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 then
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