Bug#536419: zope3: broken install
severity 536419 serious thanks On Thu, Jul 09, 2009 at 09:28:44PM +0300, Andrew O. Shadoura wrote: Hello. Just have tried to install gaphor which uses zope3, and install was completely broken: […] Setting up python-mechanize (0.1.7b-3) ... pycentral: pycentral pkginstall: not overwriting local files: /usr/lib/python2.5/site-packages/mechanize/__init__.py /usr/lib/python2.5/site-packages/mechanize/_auth.py /usr/lib/python2.5/site-packages/mechanize/_clientcookie.py /usr/lib/python2.5/site-packages/mechanize/_gzip.py /usr/lib/python2.5/site-packages/mechanize/_headersutil.py /usr/lib/python2.5/site-packages/mechanize/_html.py /usr/lib/python2.5/site-packages/mechanize/_lwpcookiejar.py /usr/lib/python2.5/site-packages/mechanize/_mechanize.py /usr/lib/python2.5/site-packages/mechanize/_mozillacookiejar.py /usr/lib/python2.5/site-packages/mechanize/_msiecookiejar.py /usr/lib/python2.5/site-packages/mechanize/_opener.py /usr/lib/python2.5/site-packages/mechanize/_pullparser.py /usr/lib/python2.5/site-packages/mechanize/_request.py /usr/lib/python2.5/site-packages/mechanize/_urllib2.py /usr/lib/python2.5/site-packages/mechanize/_useragent.py /usr/lib/python2.5/site-packages/mechanize/_util.py […] zope3 ships private copies of a lot of Python packages, which is bad enough on its own, but it additionally installs them system-wide in /usr/lib/python2.5/site-packages. This is a huge problem because it not only replaces symlinks placed there by python-central (potentially newer library versions!), but also breaks later installations of affected python-* packages, like python-tz or python-mechanize. For these reasons I consider this bug release-critical. The best solution would be to create a zope3 (or, even better, python-zope) package which only ships the “zope” module hierarchy and depends on all the other stuff it needs; of course, some of the included modules have yet to be packaged. If this is impossible because, say, zope absolutely requires the modules as included, a private Python module directory in /usr/share/zope might be an alternative. Cheers, -- Michael Schutte mi...@uiae.at signature.asc Description: Digital signature
Bug#536419: zope3: broken install
While this is indeed a zope3 bug, in the long term gaphor would need to depend directly on the python-zope.* pacakges it requires. These have just recently entered unstable: http://packages.debian.org/search?keywords=python-zope On Tue, Jul 14, 2009 at 11:59:08AM +0200, Michael Schutte wrote: severity 536419 serious thanks On Thu, Jul 09, 2009 at 09:28:44PM +0300, Andrew O. Shadoura wrote: Hello. Just have tried to install gaphor which uses zope3, and install was completely broken: [???] Setting up python-mechanize (0.1.7b-3) ... pycentral: pycentral pkginstall: not overwriting local files: /usr/lib/python2.5/site-packages/mechanize/__init__.py /usr/lib/python2.5/site-packages/mechanize/_auth.py /usr/lib/python2.5/site-packages/mechanize/_clientcookie.py /usr/lib/python2.5/site-packages/mechanize/_gzip.py /usr/lib/python2.5/site-packages/mechanize/_headersutil.py /usr/lib/python2.5/site-packages/mechanize/_html.py /usr/lib/python2.5/site-packages/mechanize/_lwpcookiejar.py /usr/lib/python2.5/site-packages/mechanize/_mechanize.py /usr/lib/python2.5/site-packages/mechanize/_mozillacookiejar.py /usr/lib/python2.5/site-packages/mechanize/_msiecookiejar.py /usr/lib/python2.5/site-packages/mechanize/_opener.py /usr/lib/python2.5/site-packages/mechanize/_pullparser.py /usr/lib/python2.5/site-packages/mechanize/_request.py /usr/lib/python2.5/site-packages/mechanize/_urllib2.py /usr/lib/python2.5/site-packages/mechanize/_useragent.py /usr/lib/python2.5/site-packages/mechanize/_util.py [???] zope3 ships private copies of a lot of Python packages, which is bad enough on its own, but it additionally installs them system-wide in /usr/lib/python2.5/site-packages. This is a huge problem because it not only replaces symlinks placed there by python-central (potentially newer library versions!), but also breaks later installations of affected python-* packages, like python-tz or python-mechanize. For these reasons I consider this bug release-critical. The best solution would be to create a zope3 (or, even better, python-zope) package which only ships the ???zope??? module hierarchy and depends on all the other stuff it needs; of course, some of the included modules have yet to be packaged. If this is impossible because, say, zope absolutely requires the modules as included, a private Python module directory in /usr/share/zope might be an alternative. Cheers, -- Michael Schutte mi...@uiae.at ___ pkg-zope-developers mailing list pkg-zope-develop...@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-zope-developers -- Brian Sutherland -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#536419: zope3: broken install
Package: zope3 Version: 3.4.0-1 Hello. Just have tried to install gaphor which uses zope3, and install was completely broken: booq:~# apt-get install gaphor Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: python-clientform python-crypto python-decorator python-docutils python- gaphas python-gconf python-gnome2 python-imaging python-mechanize python-openssl python-pam python-pkg-resources python- pullparser python-pyopenssl python-pyorbit python-roman python-serial python-twisted-bin python-twisted-conch python-twisted-core python-twisted-web2 python-tz python-zopeinterface python2.4 python2.4-minimal zope-common zope3 Suggested packages: python-crypto-dbg python-gnome2-doc python-imaging-doc python-imaging-dbg python-openssl-doc python-openssl-dbg python-setuptools python-wxgtk2.8 python-wxgtk2.6 python-wxgtk python-twisted-bin-dbg python- glade2 python-qt3 python-profiler python-zopeinterface-dbg python2.4-doc binfmt-support zope3-dbg The following NEW packages will be installed: gaphor python-clientform python-crypto python-decorator python-docutils python-gaphas python-gconf python-gnome2 python-imaging python-mechanize python-openssl python-pam python-pkg-resources python- pullparser python-pyopenssl python-pyorbit python-roman python-serial python-twisted-bin python-twisted-conch python-twisted-core python-twisted-web2 python-tz python-zopeinterface python2.4 python2.4-minimal zope-common zope3 0 upgraded, 28 newly installed, 0 to remove and 463 not upgraded. Need to get 13.4MB/14.4MB of archives. After this operation, 72.1MB of additional disk space will be used. Do you want to continue [Y/n]? Get:1 http://ftp.mgts.by unstable/main python2.4 2.4.6-2 [2843kB] Get:2 http://ftp.mgts.by unstable/main zope-common 0.5.48 [46.0kB] Get:3 http://ftp.mgts.by unstable/main python-zopeinterface 3.4.0-1 [145kB] Get:4 http://ftp.mgts.by unstable/main python-roman 0.5-3 [13.5kB] Get:5 http://ftp.mgts.by unstable/main python-docutils 0.5-3 [1578kB] Get:6 http://ftp.mgts.by unstable/main python-tz 2009g-1 [28.7kB] Get:7 http://ftp.mgts.by lenny/main python-clientform 0.2.9-1 [61.9kB] Get:8 http://ftp.mgts.by lenny/main python-mechanize 0.1.7b-3 [135kB] Get:9 http://ftp.mgts.by unstable/main python-crypto 2.0.1+dfsg1-4 [228kB] Get:10 http://ftp.mgts.by unstable/main python-twisted-bin 8.2.0-2 [30.4kB] Get:11 http://ftp.mgts.by unstable/main python-twisted-core 8.2.0-2 [975kB] Get:12 http://ftp.mgts.by unstable/main python-twisted-conch 1:8.2.0-2 [244kB] Get:13 http://ftp.mgts.by unstable/main python-twisted-web2 8.1.0-2 [181kB] Get:14 http://ftp.mgts.by lenny/main python-pullparser 0.1.0-1.1 [10.6kB] Get:15 http://ftp.mgts.by unstable/main zope3 3.4.0-1 [5366kB] Get:16 http://ftp.mgts.by unstable/main python-decorator 3.0.0-1 [99.0kB] Get:17 http://ftp.mgts.by lenny/main python-gaphas 0.3.6-1 [68.7kB] Get:18 http://ftp.mgts.by lenny/main python-pyorbit 2.14.3-2 [97.1kB] Get:19 http://ftp.mgts.by unstable/main python-gconf 2.26.1-1 [29.2kB] Get:20 http://ftp.mgts.by unstable/main python-gnome2 2.26.1-1 [177kB] Get:21 http://ftp.mgts.by unstable/main python-pkg-resources 0.6c9-2 [62.6kB] Get:22 http://ftp.mgts.by lenny/main gaphor 0.13.0-1 [382kB] Get:23 http://ftp.mgts.by lenny/main python-imaging 1.1.6-3 [398kB] Get:24 http://ftp.mgts.by unstable/main python-openssl 0.9-1 [97.0kB]