Package: fabric,python-paramiko
Version: fabric/0.9.0-1
Version: python-paramiko/1.7.6-2
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Date: 2009-12-21
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 python-support libgmp3c2 python-crypto
  python-paramiko python-pkg-resources fabric
W: cowdancer: unsupported operation flock, read-only open and 
fchown/fchmod/flock are not supported: tried openning dev:inode of 2055:5408818
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:5406907
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package libdb4.5.
(Reading database ... 10441 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-4_all.deb) ...
Selecting previously deselected package python.
Unpacking python (from .../python_2.5.4-4_all.deb) ...
Selecting previously deselected package python-central.
Unpacking python-central (from .../python-central_0.6.14+nmu2_all.deb) ...
Selecting previously deselected package python-support.
Unpacking python-support (from .../python-support_1.0.6_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-paramiko.
Unpacking python-paramiko (from .../python-paramiko_1.7.6-2_all.deb) ...
Selecting previously deselected package python-pkg-resources.
Unpacking python-pkg-resources (from .../python-pkg-resources_0.6.8-1_all.deb) 
...
Selecting previously deselected package fabric.
Unpacking fabric (from .../fabric_0.9.0-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/fabric_0.9.0-1_all.deb 
(--unpack):
 trying to overwrite '/usr/share/pyshared/paramiko/hostkeys.py', which is also 
in package python-paramiko 0:1.7.6-2
dpkg-deb: subprocess paste killed by signal (Broken pipe)
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:5408818
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:5406907
Errors were encountered while processing:
 /var/cache/apt/archives/fabric_0.9.0-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


This is a serious bug as it makes installation fail, and violate
section 7.6.1 of the policy. Possible solutions are to have the two
packages conflict, to rename the common file in one of the two
packages, or to remove the file from one package and have this package
depend on the other package. File diversions or a Replace relation are
another possibility.

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/pyshared/paramiko/__init__.py
  usr/share/pyshared/paramiko/agent.py
  usr/share/pyshared/paramiko/auth_handler.py
  usr/share/pyshared/paramiko/ber.py
  usr/share/pyshared/paramiko/buffered_pipe.py
  usr/share/pyshared/paramiko/channel.py
  usr/share/pyshared/paramiko/client.py
  usr/share/pyshared/paramiko/common.py
  usr/share/pyshared/paramiko/compress.py
  usr/share/pyshared/paramiko/config.py
  usr/share/pyshared/paramiko/dsskey.py
  usr/share/pyshared/paramiko/file.py
  usr/share/pyshared/paramiko/hostkeys.py
  usr/share/pyshared/paramiko/kex_gex.py
  usr/share/pyshared/paramiko/kex_group1.py
  usr/share/pyshared/paramiko/logging22.py
  usr/share/pyshared/paramiko/message.py
  usr/share/pyshared/paramiko/packet.py
  usr/share/pyshared/paramiko/pipe.py
  usr/share/pyshared/paramiko/pkey.py
  usr/share/pyshared/paramiko/primes.py
  usr/share/pyshared/paramiko/resource.py
  usr/share/pyshared/paramiko/rng.py
  usr/share/pyshared/paramiko/rng_posix.py
  usr/share/pyshared/paramiko/rng_win32.py
  usr/share/pyshared/paramiko/rsakey.py
  usr/share/pyshared/paramiko/server.py
  usr/share/pyshared/paramiko/sftp.py
  usr/share/pyshared/paramiko/sftp_attr.py
  usr/share/pyshared/paramiko/sftp_client.py
  usr/share/pyshared/paramiko/sftp_file.py
  usr/share/pyshared/paramiko/sftp_handle.py
  usr/share/pyshared/paramiko/sftp_server.py
  usr/share/pyshared/paramiko/sftp_si.py
  usr/share/pyshared/paramiko/ssh_exception.py
  usr/share/pyshared/paramiko/transport.py
  usr/share/pyshared/paramiko/util.py
  usr/share/pyshared/paramiko/win_pageant.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/.



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