[Openstack-devel] Bug#674504: swift-im and swift: error when trying to install together

Ralf Treinen treinen at free.fr
Fri May 25 04:45:12 UTC 2012


Package: swift,swift-im
Version: swift/1.4.8-1
Version: swift-im/2.0~beta1+dev26-1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2012-05-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!
  libpcre3 libxml2 libxau6 x11-common libice6 libsm6 libxdmcp6 libxcb1
  libx11-data libx11-6 libxt6 libaudio2 libdbus-1-3 libexpat1 libffi5
  libfreetype6 ucf ttf-dejavu-core fontconfig-config libfontconfig1
  libglib2.0-0 libgstreamer0.10-0 liborc-0.4-0 iso-codes
  libgstreamer-plugins-base0.10-0 libicu48 libjpeg8 liblcms1 libmng1
  libpng12-0 libqtcore4 libqt4-xml qdbus libqt4-dbus libqt4-network fontconfig
  libjbig0 libtiff4 libxext6 libxrender1 libqtgui4 libqtwebkit4 libxss1
  mime-support python2.7-minimal python2.7 python-minimal python
  python-support libboost-date-time1.49.0 libboost-system1.49.0
  libboost-filesystem1.49.0 libboost-program-options1.49.0
  libboost-regex1.49.0 libboost-signals1.49.0 libboost-thread1.49.0
  libjs-jquery libjs-underscore libjs-sphinxdoc libswiften2 python-greenlet
  python-eventlet python-netifaces python-openssl python-pkg-resources
  python-pastedeploy python-setuptools python-simplejson python-webob
  python-xattr python-swift swift swift-im

Extracting templates from packages: 41%
Extracting templates from packages: 82%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package libpcre3:amd64.
(Reading database ... 10575 files and directories currently installed.)
Unpacking libpcre3:amd64 (from .../libpcre3_1%3a8.30-5_amd64.deb) ...
Selecting previously unselected package libxml2:amd64.
Unpacking libxml2:amd64 (from .../libxml2_2.7.8.dfsg-9.1_amd64.deb) ...
Selecting previously unselected package libxau6:amd64.
Unpacking libxau6:amd64 (from .../libxau6_1%3a1.0.7-1_amd64.deb) ...
Selecting previously unselected package x11-common.
Unpacking x11-common (from .../x11-common_1%3a7.6+13_all.deb) ...
Selecting previously unselected package libice6:amd64.
Unpacking libice6:amd64 (from .../libice6_2%3a1.0.8-2_amd64.deb) ...
Selecting previously unselected package libsm6:amd64.
Unpacking libsm6:amd64 (from .../libsm6_2%3a1.2.1-2_amd64.deb) ...
Selecting previously unselected package libxdmcp6:amd64.
Unpacking libxdmcp6:amd64 (from .../libxdmcp6_1%3a1.1.1-1_amd64.deb) ...
Selecting previously unselected package libxcb1:amd64.
Unpacking libxcb1:amd64 (from .../libxcb1_1.8.1-1_amd64.deb) ...
Selecting previously unselected package libx11-data.
Unpacking libx11-data (from .../libx11-data_2%3a1.4.99.901-2_all.deb) ...
Selecting previously unselected package libx11-6:amd64.
Unpacking libx11-6:amd64 (from .../libx11-6_2%3a1.4.99.901-2_amd64.deb) ...
Selecting previously unselected package libxt6:amd64.
Unpacking libxt6:amd64 (from .../libxt6_1%3a1.1.3-1_amd64.deb) ...
Selecting previously unselected package libaudio2:amd64.
Unpacking libaudio2:amd64 (from .../libaudio2_1.9.3-5_amd64.deb) ...
Selecting previously unselected package libdbus-1-3:amd64.
Unpacking libdbus-1-3:amd64 (from .../libdbus-1-3_1.5.12-1_amd64.deb) ...
Selecting previously unselected package libexpat1:amd64.
Unpacking libexpat1:amd64 (from .../libexpat1_2.1.0-1_amd64.deb) ...
Selecting previously unselected package libffi5:amd64.
Unpacking libffi5:amd64 (from .../libffi5_3.0.10-3_amd64.deb) ...
Selecting previously unselected package libfreetype6:amd64.
Unpacking libfreetype6:amd64 (from .../libfreetype6_2.4.9-1_amd64.deb) ...
Selecting previously unselected package ucf.
Unpacking ucf (from .../ucf_3.0025+nmu3_all.deb) ...
Moving old data out of the way
Selecting previously unselected package ttf-dejavu-core.
Unpacking ttf-dejavu-core (from .../ttf-dejavu-core_2.33-2_all.deb) ...
Selecting previously unselected package fontconfig-config.
Unpacking fontconfig-config (from .../fontconfig-config_2.9.0-5_all.deb) ...
Selecting previously unselected package libfontconfig1:amd64.
Unpacking libfontconfig1:amd64 (from .../libfontconfig1_2.9.0-5_amd64.deb) ...
Selecting previously unselected package libglib2.0-0:amd64.
Unpacking libglib2.0-0:amd64 (from .../libglib2.0-0_2.32.3-1_amd64.deb) ...
Selecting previously unselected package libgstreamer0.10-0:amd64.
Unpacking libgstreamer0.10-0:amd64 (from .../libgstreamer0.10-0_0.10.36-1_amd64.deb) ...
Selecting previously unselected package liborc-0.4-0:amd64.
Unpacking liborc-0.4-0:amd64 (from .../liborc-0.4-0_1%3a0.4.16-2_amd64.deb) ...
Selecting previously unselected package iso-codes.
Unpacking iso-codes (from .../iso-codes_3.35-1_all.deb) ...
Selecting previously unselected package libgstreamer-plugins-base0.10-0:amd64.
Unpacking libgstreamer-plugins-base0.10-0:amd64 (from .../libgstreamer-plugins-base0.10-0_0.10.36-1_amd64.deb) ...
Selecting previously unselected package libicu48:amd64.
Unpacking libicu48:amd64 (from .../libicu48_4.8.1.1-7_amd64.deb) ...
Selecting previously unselected package libjpeg8:amd64.
Unpacking libjpeg8:amd64 (from .../libjpeg8_8d-1_amd64.deb) ...
Selecting previously unselected package liblcms1:amd64.
Unpacking liblcms1:amd64 (from .../liblcms1_1.19.dfsg-1.1_amd64.deb) ...
Selecting previously unselected package libmng1:amd64.
Unpacking libmng1:amd64 (from .../libmng1_1.0.10-3_amd64.deb) ...
Selecting previously unselected package libpng12-0:amd64.
Unpacking libpng12-0:amd64 (from .../libpng12-0_1.2.49-1_amd64.deb) ...
Selecting previously unselected package libqtcore4:amd64.
Unpacking libqtcore4:amd64 (from .../libqtcore4_4%3a4.8.1-1_amd64.deb) ...
Selecting previously unselected package libqt4-xml:amd64.
Unpacking libqt4-xml:amd64 (from .../libqt4-xml_4%3a4.8.1-1_amd64.deb) ...
Selecting previously unselected package qdbus.
Unpacking qdbus (from .../qdbus_4%3a4.8.1-1_amd64.deb) ...
Selecting previously unselected package libqt4-dbus:amd64.
Unpacking libqt4-dbus:amd64 (from .../libqt4-dbus_4%3a4.8.1-1_amd64.deb) ...
Selecting previously unselected package libqt4-network:amd64.
Unpacking libqt4-network:amd64 (from .../libqt4-network_4%3a4.8.1-1_amd64.deb) ...
Selecting previously unselected package fontconfig.
Unpacking fontconfig (from .../fontconfig_2.9.0-5_amd64.deb) ...
Selecting previously unselected package libjbig0:amd64.
Unpacking libjbig0:amd64 (from .../libjbig0_2.0-2_amd64.deb) ...
Selecting previously unselected package libtiff4:amd64.
Unpacking libtiff4:amd64 (from .../libtiff4_3.9.6-5_amd64.deb) ...
Selecting previously unselected package libxext6:amd64.
Unpacking libxext6:amd64 (from .../libxext6_2%3a1.3.1-2_amd64.deb) ...
Selecting previously unselected package libxrender1:amd64.
Unpacking libxrender1:amd64 (from .../libxrender1_1%3a0.9.7-1_amd64.deb) ...
Selecting previously unselected package libqtgui4:amd64.
Unpacking libqtgui4:amd64 (from .../libqtgui4_4%3a4.8.1-1_amd64.deb) ...
Selecting previously unselected package libqtwebkit4:amd64.
Unpacking libqtwebkit4:amd64 (from .../libqtwebkit4_2.2.1-4+b1_amd64.deb) ...
Selecting previously unselected package libxss1:amd64.
Unpacking libxss1:amd64 (from .../libxss1_1%3a1.2.2-1_amd64.deb) ...
Selecting previously unselected package mime-support.
Unpacking mime-support (from .../mime-support_3.52-1_all.deb) ...
Selecting previously unselected package python2.7-minimal.
Unpacking python2.7-minimal (from .../python2.7-minimal_2.7.3~rc2-2.1_amd64.deb) ...
Selecting previously unselected package python2.7.
Unpacking python2.7 (from .../python2.7_2.7.3~rc2-2.1_amd64.deb) ...
Selecting previously unselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.7.2-10_all.deb) ...
Selecting previously unselected package python.
Unpacking python (from .../python_2.7.2-10_all.deb) ...
Selecting previously unselected package python-support.
Unpacking python-support (from .../python-support_1.0.14_all.deb) ...
Selecting previously unselected package libboost-date-time1.49.0.
Unpacking libboost-date-time1.49.0 (from .../libboost-date-time1.49.0_1.49.0-3_amd64.deb) ...
Selecting previously unselected package libboost-system1.49.0.
Unpacking libboost-system1.49.0 (from .../libboost-system1.49.0_1.49.0-3_amd64.deb) ...
Selecting previously unselected package libboost-filesystem1.49.0.
Unpacking libboost-filesystem1.49.0 (from .../libboost-filesystem1.49.0_1.49.0-3_amd64.deb) ...
Selecting previously unselected package libboost-program-options1.49.0.
Unpacking libboost-program-options1.49.0 (from .../libboost-program-options1.49.0_1.49.0-3_amd64.deb) ...
Selecting previously unselected package libboost-regex1.49.0.
Unpacking libboost-regex1.49.0 (from .../libboost-regex1.49.0_1.49.0-3_amd64.deb) ...
Selecting previously unselected package libboost-signals1.49.0.
Unpacking libboost-signals1.49.0 (from .../libboost-signals1.49.0_1.49.0-3_amd64.deb) ...
Selecting previously unselected package libboost-thread1.49.0.
Unpacking libboost-thread1.49.0 (from .../libboost-thread1.49.0_1.49.0-3_amd64.deb) ...
Selecting previously unselected package libjs-jquery.
Unpacking libjs-jquery (from .../libjs-jquery_1.7.2+debian-1_all.deb) ...
Selecting previously unselected package libjs-underscore.
Unpacking libjs-underscore (from .../libjs-underscore_1.3.3-1_all.deb) ...
Selecting previously unselected package libjs-sphinxdoc.
Unpacking libjs-sphinxdoc (from .../libjs-sphinxdoc_1.1.3+dfsg-4_all.deb) ...
Selecting previously unselected package libswiften2.
Unpacking libswiften2 (from .../libswiften2_2.0~beta1+dev26-1_amd64.deb) ...
Selecting previously unselected package python-greenlet.
Unpacking python-greenlet (from .../python-greenlet_0.3.3-1_amd64.deb) ...
Selecting previously unselected package python-eventlet.
Unpacking python-eventlet (from .../python-eventlet_0.9.16-2_all.deb) ...
Selecting previously unselected package python-netifaces.
Unpacking python-netifaces (from .../python-netifaces_0.8-1_amd64.deb) ...
Selecting previously unselected package python-openssl.
Unpacking python-openssl (from .../python-openssl_0.13-2_amd64.deb) ...
Selecting previously unselected package python-pkg-resources.
Unpacking python-pkg-resources (from .../python-pkg-resources_0.6.24-1_all.deb) ...
Selecting previously unselected package python-pastedeploy.
Unpacking python-pastedeploy (from .../python-pastedeploy_1.5.0-2_all.deb) ...
Selecting previously unselected package python-setuptools.
Unpacking python-setuptools (from .../python-setuptools_0.6.24-1_all.deb) ...
Selecting previously unselected package python-simplejson.
Unpacking python-simplejson (from .../python-simplejson_2.5.2-1_amd64.deb) ...
Selecting previously unselected package python-webob.
Unpacking python-webob (from .../python-webob_1.1.1-1_all.deb) ...
Selecting previously unselected package python-xattr.
Unpacking python-xattr (from .../python-xattr_0.6.4-1_amd64.deb) ...
Selecting previously unselected package python-swift.
Unpacking python-swift (from .../python-swift_1.4.8-1_all.deb) ...
Selecting previously unselected package swift.
Unpacking swift (from .../archives/swift_1.4.8-1_all.deb) ...
Selecting previously unselected package swift-im.
Unpacking swift-im (from .../swift-im_2.0~beta1+dev26-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/swift-im_2.0~beta1+dev26-1_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/swift', which is also in package swift 1.4.8-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/swift-im_2.0~beta1+dev26-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/bin/swift

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 Openstack-devel mailing list