Bug#538176: zope3 and python-zope.i18nmessageid: error when trying to install together

Brian Sutherland brian at vanguardistas.net
Fri Jul 24 06:47:00 UTC 2009


On Thu, Jul 23, 2009 at 07:00:10PM -0400, Matthias Klose wrote:
> please stop filing these bugs. there's work in progress. it's a 
> transition currently going on and zope3 will be removed in the end. it's 
> currently stuck a bit because some packages are still in the NEW queue.

It looks like this will be an issue for upgrades.

I used to have a python-zope package at the bottom of the dependency
tree that conflicted against zope3 to kick it off the machine before
python-zope.* packages were installed.

So, I think we need to make a decision, do we:

    * Make zope3 a depend on our python-zope.* packages.

or:

    * Add Conflicts/Replaces: zope3 to the packages at the bottom of the
      python-zope.* dependency tree.

Because the versions are so different of the components inside the zope3
package as to what we have as python-zope.*, I see the first option as
unworkable.

The second option would require adding "Conflicts/Replaces: zope3" to
these at least packages:

    * zope.event
    * zope.i18nmessageid
    * zope.proxy
    * zope.copy
    * zope.browser
    * zope.testing
    * zope.hookable

I'll add that to the packaging in subversion if there are no objections?


>
> On 23.07.2009 15:49, Ralf Treinen wrote:
>> Package: python-zope.i18nmessageid,zope3
>> Version: python-zope.i18nmessageid/3.4.3-4
>> 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.i18nmessageid
>> 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.i18nmessageid.
>> Unpacking python-zope.i18nmessageid (from .../python-zope.i18nmessageid_3.4.3-4_amd64.deb) ...
>> dpkg: error processing /var/cache/apt/archives/python-zope.i18nmessageid_3.4.3-4_amd64.deb (--unpack):
>>   trying to overwrite `/usr/lib/python2.5/site-packages/zope/i18nmessageid/_zope_i18nmessageid_message.so', which is also in package zope3
>> Errors were encountered while processing:
>>   /var/cache/apt/archives/python-zope.i18nmessageid_3.4.3-4_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/i18nmessageid/_zope_i18nmessageid_message.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.
>>
>>
>>
>> _______________________________________________
>> pkg-zope-developers mailing list
>> pkg-zope-developers at lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/pkg-zope-developers
>
>
>
>
> _______________________________________________
> pkg-zope-developers mailing list
> pkg-zope-developers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-zope-developers

-- 
Brian Sutherland





More information about the pkg-zope-developers mailing list