Bug#538179: zope3 and python-zope.hookable: error when trying to install together

Ralf Treinen treinen at free.fr
Thu Jul 23 19:45:48 UTC 2009


Package: python-zope.hookable,zope3
Version: python-zope.hookable/3.4.1-1
Version: zope3/3.4.0-1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2009-07-23
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!
  python2.4-minimal mime-support libdb4.5 python2.4 zope-common
  python2.5-minimal libsqlite3-0 python2.5 python-minimal python
  python-central python-zopeinterface python-support python-roman
  python-docutils python-tz python-clientform python-mechanize libgmp3c2
  python-crypto python-twisted-bin python-twisted-core python-twisted-conch
  python-twisted-web2 python-pullparser zope3 python-pkg-resources
  python-setuptools python-zope.component python-zope.testing
  python-zope.hookable

Extracting templates from packages: 96%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package python2.4-minimal.
(Reading database ... 8207 files and directories currently installed.)
Unpacking python2.4-minimal (from .../python2.4-minimal_2.4.6-2_amd64.deb) ...
Selecting previously deselected package mime-support.
Unpacking mime-support (from .../mime-support_3.46-1_all.deb) ...
Selecting previously deselected package libdb4.5.
Unpacking libdb4.5 (from .../libdb4.5_4.5.20-13_amd64.deb) ...
Selecting previously deselected package python2.4.
Unpacking python2.4 (from .../python2.4_2.4.6-2_amd64.deb) ...
Selecting previously deselected package zope-common.
Unpacking zope-common (from .../zope-common_0.5.48_all.deb) ...
Selecting previously deselected package python2.5-minimal.
Unpacking python2.5-minimal (from .../python2.5-minimal_2.5.4-1_amd64.deb) ...
Selecting previously deselected package libsqlite3-0.
Unpacking libsqlite3-0 (from .../libsqlite3-0_3.6.16-1_amd64.deb) ...
Selecting previously deselected package python2.5.
Unpacking python2.5 (from .../python2.5_2.5.4-1_amd64.deb) ...
Selecting previously deselected package python-minimal.
Unpacking python-minimal (from .../python-minimal_2.5.4-2_all.deb) ...
Selecting previously deselected package python.
Unpacking python (from .../python_2.5.4-2_all.deb) ...
Selecting previously deselected package python-central.
Unpacking python-central (from .../python-central_0.6.11_all.deb) ...
Selecting previously deselected package python-zopeinterface.
Unpacking python-zopeinterface (from .../python-zopeinterface_3.4.0-1_amd64.deb) ...
Selecting previously deselected package python-support.
Unpacking python-support (from .../python-support_1.0.3_all.deb) ...
Selecting previously deselected package python-roman.
Unpacking python-roman (from .../python-roman_0.5-3_all.deb) ...
Selecting previously deselected package python-docutils.
Unpacking python-docutils (from .../python-docutils_0.5-3_all.deb) ...
Selecting previously deselected package python-tz.
Unpacking python-tz (from .../python-tz_2009g-1_all.deb) ...
Selecting previously deselected package python-clientform.
Unpacking python-clientform (from .../python-clientform_0.2.9-1_all.deb) ...
Selecting previously deselected package python-mechanize.
Unpacking python-mechanize (from .../python-mechanize_0.1.7b-3_all.deb) ...
Selecting previously deselected package libgmp3c2.
Unpacking libgmp3c2 (from .../libgmp3c2_2%3a4.3.1+dfsg-2_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-twisted-bin.
Unpacking python-twisted-bin (from .../python-twisted-bin_8.2.0-2_amd64.deb) ...
Selecting previously deselected package python-twisted-core.
Unpacking python-twisted-core (from .../python-twisted-core_8.2.0-2_all.deb) ...
Selecting previously deselected package python-twisted-conch.
Unpacking python-twisted-conch (from .../python-twisted-conch_1%3a8.2.0-2_all.deb) ...
Selecting previously deselected package python-twisted-web2.
Unpacking python-twisted-web2 (from .../python-twisted-web2_8.1.0-2_all.deb) ...
Selecting previously deselected package python-pullparser.
Unpacking python-pullparser (from .../python-pullparser_0.1.0-1.1_all.deb) ...
Processing triggers for man-db ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up python2.4-minimal (2.4.6-2) ...
Setting up mime-support (3.46-1) ...
Setting up libdb4.5 (4.5.20-13) ...
Setting up python2.4 (2.4.6-2) ...
Setting up zope-common (0.5.48) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package zope3.
(Reading database ... 11073 files and directories currently installed.)
Unpacking zope3 (from .../zope3_3.4.0-1_amd64.deb) ...
Selecting previously deselected package python-pkg-resources.
Unpacking python-pkg-resources (from .../python-pkg-resources_0.6c9-2_all.deb) ...
Selecting previously deselected package python-setuptools.
Unpacking python-setuptools (from .../python-setuptools_0.6c9-2_all.deb) ...
Selecting previously deselected package python-zope.component.
Unpacking python-zope.component (from .../python-zope.component_3.7.0-1_all.deb) ...
Selecting previously deselected package python-zope.testing.
Unpacking python-zope.testing (from .../python-zope.testing_3.7.4-4_all.deb) ...
Selecting previously deselected package python-zope.hookable.
Unpacking python-zope.hookable (from .../python-zope.hookable_3.4.1-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/python-zope.hookable_3.4.1-1_amd64.deb (--unpack):
 trying to overwrite `/usr/lib/python2.5/site-packages/zope/hookable/_zope_hookable.so', which is also in package zope3
Errors were encountered while processing:
 /var/cache/apt/archives/python-zope.hookable_3.4.1-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


This is a serious bug as it makes installation fail. 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/lib/python2.5/site-packages/zope/hookable/_zope_hookable.so
  

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.





More information about the pkg-zope-developers mailing list