[Calendarserver-maintainers] Bug#563632: python-twisted-calendarserver: error when trying to install together with other python-twisted packages

Ralf Treinen treinen at free.fr
Mon Jan 4 08:17:09 UTC 2010


Package: python-twisted-calendarserver
Version: 0.2.0.svn19773-5+b1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite


Hello,

python-twisted-calendarserver does not install properly togther with
several other python-twisted packages:

python-twisted-bin
python-twisted-conch
python-twisted-core
python-twisted-lore
python-twisted-mail
python-twisted-names
python-twisted-news
python-twisted-web
python-twisted-words

Here is the (automatically generated) bug report for python-twisted-conch,
the others look similar. Please let me know when you need a complete list
of files that are shared with the other packages.

-Ralf.


========================================================================


Package: python-twisted-calendarserver,python-twisted-conch
Version: python-twisted-calendarserver/0.2.0.svn19773-5+b1
Version: python-twisted-conch/1:9.0.0-1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2010-01-04
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!
  libdb4.5 libsqlite3-0 mime-support python2.5-minimal python2.5
  python-minimal python python-central libgmp3c2 python-crypto
  python-pkg-resources python-twisted-bin python-zope.interface
  python-twisted-core python-twisted-calendarserver python-twisted-conch
W: cowdancer: unsupported operation flock, read-only open and fchown/fchmod/flock are not supported: tried openning dev:inode of 2055:5406753
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:5406773
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libdb4.5.
(Reading database ... 10445 files and directories currently installed.)
Unpacking libdb4.5 (from .../libdb4.5_4.5.20-13.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 mime-support.
Unpacking mime-support (from .../mime-support_3.48-1_all.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 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 python-central.
Unpacking python-central (from .../python-central_0.6.14+nmu2_all.deb) ...
Selecting previously deselected package libgmp3c2.
Unpacking libgmp3c2 (from .../libgmp3c2_2%3a4.3.1+dfsg-3_amd64.deb) ...
Selecting previously deselected package python-crypto.
Unpacking python-crypto (from .../python-crypto_2.0.1+dfsg1-4_amd64.deb) ...
Selecting previously deselected package python-pkg-resources.
Unpacking python-pkg-resources (from .../python-pkg-resources_0.6.10-1_all.deb) ...
Selecting previously deselected package python-twisted-bin.
Unpacking python-twisted-bin (from .../python-twisted-bin_9.0.0-0_amd64.deb) ...
Selecting previously deselected package python-zope.interface.
Unpacking python-zope.interface (from .../python-zope.interface_3.5.2-2_amd64.deb) ...
Selecting previously deselected package python-twisted-core.
Unpacking python-twisted-core (from .../python-twisted-core_9.0.0-0_all.deb) ...
Selecting previously deselected package python-twisted-calendarserver.
Unpacking python-twisted-calendarserver (from .../python-twisted-calendarserver_0.2.0.svn19773-5+b1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/python-twisted-calendarserver_0.2.0.svn19773-5+b1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/pyshared/twisted/enterprise/adbapi.py', which is also in package python-twisted-core 0:9.0.0-0
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Selecting previously deselected package python-twisted-conch.
Unpacking python-twisted-conch (from .../python-twisted-conch_1%3a9.0.0-1_all.deb) ...
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:5406753
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:5406773
Errors were encountered while processing:
 /var/cache/apt/archives/python-twisted-calendarserver_0.2.0.svn19773-5+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.

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/ckeygen
  usr/bin/conch
  usr/bin/tkconch
  usr/share/pyshared/twisted/conch/__init__.py
  usr/share/pyshared/twisted/conch/_version.py
  usr/share/pyshared/twisted/conch/avatar.py
  usr/share/pyshared/twisted/conch/checkers.py
  usr/share/pyshared/twisted/conch/client/__init__.py
  usr/share/pyshared/twisted/conch/client/agent.py
  usr/share/pyshared/twisted/conch/client/connect.py
  usr/share/pyshared/twisted/conch/client/default.py
  usr/share/pyshared/twisted/conch/client/direct.py
  usr/share/pyshared/twisted/conch/client/options.py
  usr/share/pyshared/twisted/conch/error.py
  usr/share/pyshared/twisted/conch/insults/__init__.py
  usr/share/pyshared/twisted/conch/insults/client.py
  usr/share/pyshared/twisted/conch/insults/colors.py
  usr/share/pyshared/twisted/conch/insults/helper.py
  usr/share/pyshared/twisted/conch/insults/insults.py
  usr/share/pyshared/twisted/conch/insults/text.py
  usr/share/pyshared/twisted/conch/insults/window.py
  usr/share/pyshared/twisted/conch/interfaces.py
  usr/share/pyshared/twisted/conch/ls.py
  usr/share/pyshared/twisted/conch/manhole.py
  usr/share/pyshared/twisted/conch/manhole_ssh.py
  usr/share/pyshared/twisted/conch/manhole_tap.py
  usr/share/pyshared/twisted/conch/mixin.py
  usr/share/pyshared/twisted/conch/openssh_compat/__init__.py
  usr/share/pyshared/twisted/conch/openssh_compat/factory.py
  usr/share/pyshared/twisted/conch/openssh_compat/primes.py
  usr/share/pyshared/twisted/conch/recvline.py
  usr/share/pyshared/twisted/conch/scripts/__init__.py
  usr/share/pyshared/twisted/conch/scripts/cftp.py
  usr/share/pyshared/twisted/conch/scripts/ckeygen.py
  usr/share/pyshared/twisted/conch/scripts/conch.py
  usr/share/pyshared/twisted/conch/scripts/tkconch.py
  usr/share/pyshared/twisted/conch/ssh/__init__.py
  usr/share/pyshared/twisted/conch/ssh/agent.py
  usr/share/pyshared/twisted/conch/ssh/asn1.py
  usr/share/pyshared/twisted/conch/ssh/channel.py
  usr/share/pyshared/twisted/conch/ssh/common.py
  usr/share/pyshared/twisted/conch/ssh/connection.py
  usr/share/pyshared/twisted/conch/ssh/factory.py
  usr/share/pyshared/twisted/conch/ssh/filetransfer.py
  usr/share/pyshared/twisted/conch/ssh/forwarding.py
  usr/share/pyshared/twisted/conch/ssh/keys.py
  usr/share/pyshared/twisted/conch/ssh/service.py
  usr/share/pyshared/twisted/conch/ssh/session.py
  usr/share/pyshared/twisted/conch/ssh/sexpy.py
  usr/share/pyshared/twisted/conch/ssh/transport.py
  usr/share/pyshared/twisted/conch/ssh/userauth.py
  usr/share/pyshared/twisted/conch/stdio.py
  usr/share/pyshared/twisted/conch/tap.py
  usr/share/pyshared/twisted/conch/telnet.py
  usr/share/pyshared/twisted/conch/test/__init__.py
  usr/share/pyshared/twisted/conch/test/test_cftp.py
  usr/share/pyshared/twisted/conch/test/test_conch.py
  usr/share/pyshared/twisted/conch/test/test_filetransfer.py
  usr/share/pyshared/twisted/conch/test/test_helper.py
  usr/share/pyshared/twisted/conch/test/test_insults.py
  usr/share/pyshared/twisted/conch/test/test_keys.py
  usr/share/pyshared/twisted/conch/test/test_manhole.py
  usr/share/pyshared/twisted/conch/test/test_mixin.py
  usr/share/pyshared/twisted/conch/test/test_recvline.py
  usr/share/pyshared/twisted/conch/test/test_ssh.py
  usr/share/pyshared/twisted/conch/test/test_telnet.py
  usr/share/pyshared/twisted/conch/test/test_text.py
  usr/share/pyshared/twisted/conch/test/test_window.py
  usr/share/pyshared/twisted/conch/ttymodes.py
  usr/share/pyshared/twisted/conch/ui/__init__.py
  usr/share/pyshared/twisted/conch/ui/ansi.py
  usr/share/pyshared/twisted/conch/ui/tkvt100.py
  usr/share/pyshared/twisted/conch/unix.py
  usr/share/pyshared/twisted/plugins/twisted_conch.py
  

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 Calendarserver-maintainers mailing list