Package: swift,suckless-tools
Version: swift/1.3.0-1
Version: suckless-tools/38-1
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2011-06-10
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!
  multiarch-support libxau6 libxdmcp6 libxcb1 mime-support python2.6-minimal
  libdb4.8 libexpat1 python2.6 python-minimal python python-support
  libjs-jquery libx11-data libx11-6 libxext6 libxinerama1 python-greenlet
  python-eventlet python-netifaces python-openssl python-pkg-resources
  python-pastedeploy python-setuptools python-simplejson python-webob
  python-xattr python-swift suckless-tools swift
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package multiarch-support.
(Reading database ... 9232 files and directories currently installed.)
Unpacking multiarch-support (from .../multiarch-support_2.13-6_amd64.deb) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up multiarch-support (2.13-6) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libxau6.
(Reading database ... 9236 files and directories currently installed.)
Unpacking libxau6 (from .../libxau6_1%3a1.0.6-2_amd64.deb) ...
Selecting previously deselected package libxdmcp6.
Unpacking libxdmcp6 (from .../libxdmcp6_1%3a1.1.0-2_amd64.deb) ...
Selecting previously deselected package libxcb1.
Unpacking libxcb1 (from .../libxcb1_1.7-3_amd64.deb) ...
Selecting previously deselected package mime-support.
Unpacking mime-support (from .../mime-support_3.51-1_all.deb) ...
Selecting previously deselected package python2.6-minimal.
Unpacking python2.6-minimal (from .../python2.6-minimal_2.6.6-10_amd64.deb) ...
Selecting previously deselected package libdb4.8.
Unpacking libdb4.8 (from .../libdb4.8_4.8.30-8_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.6-10_amd64.deb) ...
Selecting previously deselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.6.6-14_all.deb) ...
Selecting previously deselected package python.
Unpacking python (from .../python_2.6.6-14_all.deb) ...
Selecting previously deselected package python-support.
Unpacking python-support (from .../python-support_1.0.13_all.deb) ...
Selecting previously deselected package libjs-jquery.
Unpacking libjs-jquery (from .../libjs-jquery_1.6.1-1_all.deb) ...
Selecting previously deselected package libx11-data.
Unpacking libx11-data (from .../libx11-data_2%3a1.4.3-1_all.deb) ...
Selecting previously deselected package libx11-6.
Unpacking libx11-6 (from .../libx11-6_2%3a1.4.3-1_amd64.deb) ...
Selecting previously deselected package libxext6.
Unpacking libxext6 (from .../libxext6_2%3a1.3.0-1_amd64.deb) ...
Selecting previously deselected package libxinerama1.
Unpacking libxinerama1 (from .../libxinerama1_2%3a1.1.1-1_amd64.deb) ...
Selecting previously deselected package python-greenlet.
Unpacking python-greenlet (from .../python-greenlet_0.3.1-1.1+b1_amd64.deb) ...
Selecting previously deselected package python-eventlet.
Unpacking python-eventlet (from .../python-eventlet_0.9.16-1_all.deb) ...
Selecting previously deselected package python-netifaces.
Unpacking python-netifaces (from .../python-netifaces_0.5-2.1+b1_amd64.deb) ...
Selecting previously deselected package python-openssl.
Unpacking python-openssl (from .../python-openssl_0.12-1_amd64.deb) ...
Selecting previously deselected package python-pkg-resources.
Unpacking python-pkg-resources (from .../python-pkg-resources_0.6.16-1_all.deb) 
...
Selecting previously deselected package python-pastedeploy.
Unpacking python-pastedeploy (from .../python-pastedeploy_1.5.0-1_all.deb) ...
Selecting previously deselected package python-setuptools.
Unpacking python-setuptools (from .../python-setuptools_0.6.16-1_all.deb) ...
Selecting previously deselected package python-simplejson.
Unpacking python-simplejson (from .../python-simplejson_2.1.6-1_amd64.deb) ...
Selecting previously deselected package python-webob.
Unpacking python-webob (from .../python-webob_1.0.7-1_all.deb) ...
Selecting previously deselected package python-xattr.
Unpacking python-xattr (from .../python-xattr_0.6-1+b1_amd64.deb) ...
Selecting previously deselected package python-swift.
Unpacking python-swift (from .../python-swift_1.3.0-1_all.deb) ...
Selecting previously deselected package suckless-tools.
Unpacking suckless-tools (from .../suckless-tools_38-1_amd64.deb) ...
Selecting previously deselected package swift.
Unpacking swift (from .../archives/swift_1.3.0-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/swift_1.3.0-1_all.deb (--unpack):
 trying to overwrite '/usr/bin/st', which is also in package suckless-tools 38-1
configured to not write apport reports
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/swift_1.3.0-1_all.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/bin/st

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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to