Bug#536419: zope3: broken install

Andrew O. Shadoura bugzilla at tut.by
Thu Jul 9 18:28:44 UTC 2009


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]                                                                   
Get:25 http://ftp.mgts.by lenny/main python-pam 0.4.2-12 [12.8kB]                                                                       
Get:26 http://ftp.mgts.by lenny/main python-pyopenssl 0.7-2 [9088B]                                                                     
Get:27 http://ftp.mgts.by lenny/main python-serial 2.3-1 [45.0kB]                                                                       
Fetched 13.1MB in 1min 6s (197kB/s)                                                                                                     
Preconfiguring packages ...
Selecting previously deselected package python2.4-minimal.
(Reading database ... 206240 files and directories currently installed.)
Unpacking python2.4-minimal (from .../python2.4-minimal_2.4.6-2_i386.deb) ...
Selecting previously deselected package python2.4.
Unpacking python2.4 (from .../python2.4_2.4.6-2_i386.deb) ...
Selecting previously deselected package zope-common.
Unpacking zope-common (from .../zope-common_0.5.48_all.deb) ...
Selecting previously deselected package python-zopeinterface.
Unpacking python-zopeinterface (from .../python-
zopeinterface_3.4.0-1_i386.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 python-crypto.
Unpacking python-crypto (from .../python-crypto_2.0.1+dfsg1-4_i386.deb) ...
Selecting previously deselected package python-twisted-bin.
Unpacking python-twisted-bin (from .../python-twisted-bin_8.2.0-2_i386.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 ...
Processing triggers for desktop-file-utils ...
Processing triggers for menu ...
Setting up python2.4-minimal (2.4.6-2) ...
Linking and byte-compiling packages for runtime python2.4...
Setting up python2.4 (2.4.6-2) ...
Setting up zope-common (0.5.48) ...
Processing triggers for python-support ...
Processing triggers for menu ...
Selecting previously deselected package zope3.
(Reading database ... 208243 files and directories currently installed.)
Unpacking zope3 (from .../zope3_3.4.0-1_i386.deb) ...
Selecting previously deselected package python-decorator.
Unpacking python-decorator (from .../python-decorator_3.0.0-1_all.deb) ...
Selecting previously deselected package python-gaphas.
Unpacking python-gaphas (from .../python-gaphas_0.3.6-1_all.deb) ...
Selecting previously deselected package python-pyorbit.
Unpacking python-pyorbit (from .../python-pyorbit_2.14.3-2_i386.deb) ...
Selecting previously deselected package python-gconf.
Unpacking python-gconf (from .../python-gconf_2.26.1-1_i386.deb) ...
Selecting previously deselected package python-gnome2.
Unpacking python-gnome2 (from .../python-gnome2_2.26.1-1_i386.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 gaphor.
Unpacking gaphor (from .../gaphor_0.13.0-1_all.deb) ...
Selecting previously deselected package python-imaging.
Unpacking python-imaging (from .../python-imaging_1.1.6-3_i386.deb) ...
Selecting previously deselected package python-openssl.
Unpacking python-openssl (from .../python-openssl_0.9-1_i386.deb) ...
Selecting previously deselected package python-pam.
Unpacking python-pam (from .../python-pam_0.4.2-12_i386.deb) ...
Selecting previously deselected package python-pyopenssl.
Unpacking python-pyopenssl (from .../python-pyopenssl_0.7-2_all.deb) ...
Selecting previously deselected package python-serial.
Unpacking python-serial (from .../python-serial_2.3-1_all.deb) ...
Processing triggers for desktop-file-utils ...
Processing triggers for menu ...
Processing triggers for man-db ...
Setting up python-zopeinterface (3.4.0-1) ...
Setting up python-roman (0.5-3) ...
Setting up python-docutils (0.5-3) ...
Setting up python-tz (2009g-1) ...
pycentral: pycentral pkginstall: not overwriting local files:
  /usr/lib/python2.5/site-packages/pytz/__init__.py
  /usr/lib/python2.5/site-packages/pytz/reference.py
  /usr/lib/python2.5/site-packages/pytz/tzfile.py
  /usr/lib/python2.5/site-packages/pytz/tzinfo.py
pycentral pkginstall: not overwriting local files:
  /usr/lib/python2.5/site-packages/pytz/__init__.py
  /usr/lib/python2.5/site-packages/pytz/reference.py
  /usr/lib/python2.5/site-packages/pytz/tzfile.py
  /usr/lib/python2.5/site-packages/pytz/tzinfo.py
dpkg: error processing python-tz (--configure):
 subprocess post-installation script returned error exit status 1
Setting up python-clientform (0.2.9-1) ...
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
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
dpkg: error processing python-mechanize (--configure):
 subprocess post-installation script returned error exit status 1
Setting up python-crypto (2.0.1+dfsg1-4) ...
Setting up python-twisted-bin (8.2.0-2) ...
Setting up python-twisted-core (8.2.0-2) ...
Setting up python-twisted-conch (1:8.2.0-2) ...
Setting up python-twisted-web2 (8.1.0-2) ...
Setting up python-pullparser (0.1.0-1.1) ...
dpkg: dependency problems prevent configuration of zope3:
 zope3 depends on python-tz (>= 2007f-1); however:
  Package python-tz is not configured yet.
 zope3 depends on python-mechanize (>= 0.1.2b-1); however:
  Package python-mechanize is not configured yet.
dpkg: error processing zope3 (--configure):
 dependency problems - leaving unconfigured
Setting up python-decorator (3.0.0-1) ...
Setting up python-gaphas (0.3.6-1) ...
Setting up python-pyorbit (2.14.3-2) ...
Setting up python-gconf (2.26.1-1) ...
Setting up python-gnome2 (2.26.1-1) ...
Setting up python-pkg-resources (0.6c9-2) ...
dpkg: dependency problems prevent configuration of gaphor:
 gaphor depends on zope3; however:
  Package zope3 is not configured yet.
dpkg: error processing gaphor (--configure):
 dependency problems - leaving unconfigured
Setting up python-imaging (1.1.6-3) ...
Setting up python-openssl (0.9-1) ...
Setting up python-pam (0.4.2-12) ...
Setting up python-pyopenssl (0.7-2) ...
Setting up python-serial (2.3-1) ...
Processing triggers for python-support ...
Processing triggers for menu ...
Errors were encountered while processing:
 python-tz
 python-mechanize
 zope3
 gaphor
E: Sub-process /usr/bin/dpkg returned an error code (1)
booq:~# apt-get install gaphor 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gaphor is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 463 not upgraded.
4 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up python-tz (2009g-1) ...
pycentral: pycentral pkginstall: not overwriting local files:
  /usr/lib/python2.5/site-packages/pytz/__init__.py
  /usr/lib/python2.5/site-packages/pytz/reference.py
  /usr/lib/python2.5/site-packages/pytz/tzfile.py
  /usr/lib/python2.5/site-packages/pytz/tzinfo.py
pycentral pkginstall: not overwriting local files:
  /usr/lib/python2.5/site-packages/pytz/__init__.py
  /usr/lib/python2.5/site-packages/pytz/reference.py
  /usr/lib/python2.5/site-packages/pytz/tzfile.py
  /usr/lib/python2.5/site-packages/pytz/tzinfo.py
dpkg: error processing python-tz (--configure):
 subprocess post-installation script returned error exit status 1
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
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
dpkg: error processing python-mechanize (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of zope3:
 zope3 depends on python-tz (>= 2007f-1); however:
  Package python-tz is not configured yet.
 zope3 depends on python-mechanize (>= 0.1.2b-1); however:
  Package python-mechanize is not configured yet.
dpkg: error processing zope3 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gaphor:
 gaphor depends on zope3; however:
  Package zope3 is not configured yet.
dpkg: error processing gaphor (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-tz
 python-mechanize
 zope3
 gaphor
E: Sub-process /usr/bin/dpkg returned an error code (1)
booq:~# apt-get install gaphor python2.5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
gaphor is already the newest version.
The following extra packages will be installed:
  python2.5-minimal
Suggested packages:
  python2.5-doc python-profiler binfmt-support
The following packages will be upgraded:
  python2.5 python2.5-minimal
2 upgraded, 0 newly installed, 0 to remove and 461 not upgraded.
4 not fully installed or removed.
Need to get 4131kB of archives.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://ftp.mgts.by unstable/main python2.5 2.5.4-1 [2924kB]
Get:2 http://ftp.mgts.by unstable/main python2.5-minimal 2.5.4-1 [1206kB]                                                               
Fetched 4131kB in 22s (180kB/s)                                                                                                         
(Reading database ... 213496 files and directories currently installed.)
Preparing to replace python2.5 2.5.2-15 (using .../python2.5_2.5.4-1_i386.deb) 
...
Unpacking replacement python2.5 ...
Preparing to replace python2.5-minimal 2.5.2-15 (using .../python2.5-
minimal_2.5.4-1_i386.deb) ...
Unpacking replacement python2.5-minimal ...
Processing triggers for desktop-file-utils ...
Processing triggers for menu ...
Processing triggers for man-db ...
Setting up python2.5-minimal (2.5.4-1) ...
Setting up python2.5 (2.5.4-1) ...
Setting up python-tz (2009g-1) ...
pycentral: pycentral pkginstall: not overwriting local files:
  /usr/lib/python2.5/site-packages/pytz/__init__.py
  /usr/lib/python2.5/site-packages/pytz/reference.py
  /usr/lib/python2.5/site-packages/pytz/tzfile.py
  /usr/lib/python2.5/site-packages/pytz/tzinfo.py
pycentral pkginstall: not overwriting local files:
  /usr/lib/python2.5/site-packages/pytz/__init__.py
  /usr/lib/python2.5/site-packages/pytz/reference.py
  /usr/lib/python2.5/site-packages/pytz/tzfile.py
  /usr/lib/python2.5/site-packages/pytz/tzinfo.py
dpkg: error processing python-tz (--configure):
 subprocess post-installation script returned error exit status 1
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
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
dpkg: error processing python-mechanize (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of zope3:
 zope3 depends on python-tz (>= 2007f-1); however:
  Package python-tz is not configured yet.
 zope3 depends on python-mechanize (>= 0.1.2b-1); however:
  Package python-mechanize is not configured yet.
dpkg: error processing zope3 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of gaphor:
 gaphor depends on zope3; however:
  Package zope3 is not configured yet.
dpkg: error processing gaphor (--configure):
 dependency problems - leaving unconfigured
Processing triggers for menu ...
E: Sub-process /usr/bin/dpkg returned an error code (2)
booq:~# rm -rf /usr/lib/python2.5/site-packages/mechanize
booq:~# rm -rf /usr/lib/python2.5/site-packages/pytz
booq:~# apt-get install gaphor python2.5
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to 
correct the problem. 
booq:~# dpkg --configure -a
Setting up menu (2.1.41) ...
Setting up python-tz (2009g-1) ...
Setting up python-mechanize (0.1.7b-3) ...
Setting up zope3 (3.4.0-1) ...
Zope3: no instances found..
/usr/lib/python2.5/site-packages/RestrictedPython/Utilities.py:56: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/RestrictedPython/Utilities.py:60: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/RestrictedPython/Utilities.py:60: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/RestrictedPython/Utilities.py:76: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/ZEO/scripts/zeoserverlog.py:375: Warning: 
'as' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/ZEO/scripts/zeoserverlog.py:395: Warning: 
'as' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/ZEO/scripts/zeoserverlog.py:420: Warning: 
'as' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/ZEO/scripts/zeoserverlog.py:432: Warning: 
'as' will become a reserved keyword in Python 2.6
file does not exist: /usr/lib/python2.5/site-
packages/mechanize/_urllib2_support.py
file does not exist: /usr/lib/python2.5/site-packages/pytz/tests/test_docs.py
file does not exist: /usr/lib/python2.5/site-
packages/pytz/tests/test_tzinfo.py
/usr/lib/python2.5/site-packages/zope/app/component/back35.py:285: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/back35.py:628: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/back35.py:631: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/back35.py:653: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/back35.py:656: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/back35.py:669: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/site.py:241: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/site.py:267: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/site.py:308: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/site.py:324: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/site.py:339: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/testing/ztapi.py:65: Warning: 'with' 
will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/testing/ztapi.py:70: Warning: 'with' 
will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/testing/ztapi.py:71: Warning: 'with' 
will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-
packages/zope/documenttemplate/pdocumenttemplate.py:231: Warning: 'with' will 
become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-
packages/zope/documenttemplate/pdocumenttemplate.py:232: Warning: 'with' will 
become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-
packages/zope/documenttemplate/pdocumenttemplate.py:233: Warning: 'with' will 
become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-
packages/zope/documenttemplate/pdocumenttemplate.py:253: Warning: 'with' will 
become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/rdb/gadfly/sqlbind.py:57: Warning: 'as' 
will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/rdb/gadfly/sqlbind.py:309: Warning: 'as' 
will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/rdb/gadfly/sqlbind.py:313: Warning: 'as' 
will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/rdb/gadfly/sqlbind.py:587: Warning: 'as' 
will become a reserved keyword in Python 2.6
pycentral: pycentral pkginstall: error byte-compiling files (2049)
pycentral pkginstall: error byte-compiling files (2049)
dpkg: error processing zope3 (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of gaphor:
 gaphor depends on zope3; however:
  Package zope3 is not configured yet.
dpkg: error processing gaphor (--configure):
 dependency problems - leaving unconfigured
Processing triggers for menu ...
Errors were encountered while processing:
 zope3
 gaphor
booq:~# apt-get purge zope3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  gaphor* zope3*
0 upgraded, 0 newly installed, 2 to remove and 461 not upgraded.
2 not fully installed or removed.
After this operation, 38.9MB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 213496 files and directories currently installed.)
Removing gaphor ...
Purging configuration files for gaphor ...
Removing zope3 ...
Zope3: no instances found..
Purging configuration files for zope3 ...
dpkg - warning: while removing zope3, directory `/usr/lib/python2.5/site-
packages/mechanize' not empty so not removed.
Processing triggers for man-db ...
Processing triggers for menu ...
Processing triggers for desktop-file-utils ...
booq:~# apt-get install gaphor 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  zope3
Suggested packages:
  zope3-dbg
The following NEW packages will be installed:
  gaphor zope3
0 upgraded, 2 newly installed, 0 to remove and 461 not upgraded.
Need to get 0B/5747kB of archives.
After this operation, 38.9MB of additional disk space will be used.
Do you want to continue [Y/n]? 
Selecting previously deselected package zope3.
(Reading database ... 208541 files and directories currently installed.)
Unpacking zope3 (from .../zope3_3.4.0-1_i386.deb) ...
Selecting previously deselected package gaphor.
Unpacking gaphor (from .../gaphor_0.13.0-1_all.deb) ...
Processing triggers for desktop-file-utils ...
Processing triggers for menu ...
Processing triggers for man-db ...
Setting up zope3 (3.4.0-1) ...
Zope3: no instances found..
/usr/lib/python2.5/site-packages/RestrictedPython/Utilities.py:56: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/RestrictedPython/Utilities.py:60: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/RestrictedPython/Utilities.py:60: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/RestrictedPython/Utilities.py:76: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/ZEO/scripts/zeoserverlog.py:375: Warning: 
'as' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/ZEO/scripts/zeoserverlog.py:395: Warning: 
'as' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/ZEO/scripts/zeoserverlog.py:420: Warning: 
'as' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/ZEO/scripts/zeoserverlog.py:432: Warning: 
'as' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/back35.py:285: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/back35.py:628: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/back35.py:631: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/back35.py:653: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/back35.py:656: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/back35.py:669: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/site.py:241: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/site.py:267: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/site.py:308: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/site.py:324: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/component/site.py:339: Warning: 
'with' will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/testing/ztapi.py:65: Warning: 'with' 
will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/testing/ztapi.py:70: Warning: 'with' 
will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/app/testing/ztapi.py:71: Warning: 'with' 
will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-
packages/zope/documenttemplate/pdocumenttemplate.py:231: Warning: 'with' will 
become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-
packages/zope/documenttemplate/pdocumenttemplate.py:232: Warning: 'with' will 
become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-
packages/zope/documenttemplate/pdocumenttemplate.py:233: Warning: 'with' will 
become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-
packages/zope/documenttemplate/pdocumenttemplate.py:253: Warning: 'with' will 
become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/rdb/gadfly/sqlbind.py:57: Warning: 'as' 
will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/rdb/gadfly/sqlbind.py:309: Warning: 'as' 
will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/rdb/gadfly/sqlbind.py:313: Warning: 'as' 
will become a reserved keyword in Python 2.6
/usr/lib/python2.5/site-packages/zope/rdb/gadfly/sqlbind.py:587: Warning: 'as' 
will become a reserved keyword in Python 2.6
Setting up gaphor (0.13.0-1) ...
Processing triggers for menu ...
Processing triggers for python-support ...

Moreover, when I tried to remove zope, it didn't do it cleanly too:

booq:~# apt-get purge zope3 gaphor python2.4 python2.4-minimal python-
zopeinterface 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  gaphor* python-twisted-conch* python-twisted-core* python-twisted-web2* 
python-zopeinterface* python2.4* python2.4-minimal*
  zope-common* zope3*
0 upgraded, 0 newly installed, 9 to remove and 461 not upgraded.
After this operation, 60.8MB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 213496 files and directories currently installed.)
Removing gaphor ...
Purging configuration files for gaphor ...
Removing zope3 ...
Zope3: no instances found..
Purging configuration files for zope3 ...
dpkg - warning: while removing zope3, directory `/usr/lib/python2.5/site-
packages/mechanize' not empty so not removed.
Removing python-twisted-conch ...
Purging configuration files for python-twisted-conch ...
Removing python-twisted-web2 ...
Removing python-twisted-core ...
Purging configuration files for python-twisted-core ...
Removing python-zopeinterface ...
Removing zope-common ...
Purging configuration files for zope-common ...
rmdir: failed to remove `/usr/local/share/zope/Extensions': No such file or 
directory
rmdir: failed to remove `/usr/local/share/zope/Products': No such file or 
directory
rmdir: failed to remove `/usr/local/share/zope': No such file or directory
Removing python2.4 ...
Purging configuration files for python2.4 ...
Removing python2.4-minimal ...
Unlinking and removing bytecode for runtime python2.4
    python-pkg-resources: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-twisted-conch: all (['install', 'ok', 'installed'])
    python-tz: all (['install', 'ok', 'installed'])
    python-clientform: all (['install', 'ok', 'installed'])
    python-zopeinterface: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-scientific: all (['install', 'ok', 'installed'])
    python-numeric-ext: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-serial: all (['install', 'ok', 'installed'])
    libgcj-common: all (['install', 'ok', 'installed'])
    python-numeric: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-pullparser: all (['install', 'ok', 'installed'])
    python-twisted-core: all (['install', 'ok', 'installed'])
    reportbug: current, >= 2.5 (['install', 'ok', 'installed'])
    python-numpy: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-crypto: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-mechanize: all (['install', 'ok', 'installed'])
    python-imaging: 2.4, 2.5 (['install', 'ok', 'installed'])
    python-twisted-web2: all (['install', 'ok', 'installed'])
    python-uno: current (['install', 'ok', 'installed'])
Purging configuration files for python2.4-minimal ...
Processing triggers for python-support ...
Processing triggers for man-db ...
Processing triggers for menu ...
Processing triggers for desktop-file-utils ...
booq:~# 

-- 
WBR, Andrew





More information about the pkg-zope-developers mailing list