Comment 16 for bug 347939

Revision history for this message
Michael Vogt (mvo) wrote :

I patched python-central now to give a more meaningful error message:

$ sudo apt-get install zope3
Reading package lists... Done
Building dependency tree
Reading state information... Done

The following extra packages will be installed:
  python-clientform python-mechanize python-twisted-web2 python-tz python2.4
  python2.4-minimal zope-common
Suggested packages:
  zope3-dbg
The following NEW packages will be installed:
  python-clientform python-mechanize python-twisted-web2 python-tz python2.4
  python2.4-minimal zope-common zope3
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 9853kB of archives.
After this operation, 52,2MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com jaunty/main python2.4-minimal 2.4.6-1ubuntu3 [1065kB]
Get:2 http://archive.ubuntu.com jaunty/main python2.4 2.4.6-1ubuntu3 [2932kB]
Get:3 http://archive.ubuntu.com jaunty/main zope-common 0.5.46 [45,8kB]
Get:4 http://archive.ubuntu.com jaunty/main python-tz 2008i-1 [30,3kB]
Get:5 http://archive.ubuntu.com jaunty/main python-clientform 0.2.9-1 [62,0kB]
Get:6 http://archive.ubuntu.com jaunty/main python-mechanize 0.1.11-0ubuntu1 [144kB]
Get:7 http://archive.ubuntu.com jaunty/main python-twisted-web2 8.1.0-1 [180kB]
Get:8 http://archive.ubuntu.com jaunty/main zope3 3.4.0-0ubuntu2 [5395kB]
Fetched 9853kB in 0s (32,3MB/s)
Preconfiguring packages ...
Selecting previously deselected package python2.4-minimal.
(Reading database ... 585444 files and directories currently installed.)
Unpacking python2.4-minimal (from .../python2.4-minimal_2.4.6-1ubuntu3_amd64.deb) ...
Selecting previously deselected package python2.4.
Unpacking python2.4 (from .../python2.4_2.4.6-1ubuntu3_amd64.deb) ...
Selecting previously deselected package zope-common.
Unpacking zope-common (from .../zope-common_0.5.46_all.deb) ...
Selecting previously deselected package python-tz.
Unpacking python-tz (from .../python-tz_2008i-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.11-0ubuntu1_all.deb) ...
Selecting previously deselected package python-twisted-web2.
Unpacking python-twisted-web2 (from .../python-twisted-web2_8.1.0-1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Setting up python2.4-minimal (2.4.6-1ubuntu3) ...

Setting up python2.4 (2.4.6-1ubuntu3) ...

Setting up zope-common (0.5.46) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Processing triggers for menu ...
Selecting previously deselected package zope3.
(Reading database ... 586301 files and directories currently installed.)
Unpacking zope3 (from .../zope3_3.4.0-0ubuntu2_amd64.deb) ...
Setting up python-tz (2008i-1) ...
pycentral: pycentral pkginstall: Not overwriting files owned by other packages:
  zope3: /usr/lib/python2.5/site-packages/pytz/__init__.py
  zope3: /usr/lib/python2.5/site-packages/pytz/reference.py
  zope3: /usr/lib/python2.5/site-packages/pytz/tzfile.py
  zope3: /usr/lib/python2.5/site-packages/pytz/tzinfo.py
pycentral pkginstall: Not overwriting files owned by other packages:
  zope3: /usr/lib/python2.5/site-packages/pytz/__init__.py
  zope3: /usr/lib/python2.5/site-packages/pytz/reference.py
  zope3: /usr/lib/python2.5/site-packages/pytz/tzfile.py
  zope3: /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.11-0ubuntu1) ...
pycentral: pycentral pkginstall: Not overwriting files owned by other packages:
  zope3: /usr/lib/python2.5/site-packages/mechanize/__init__.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_auth.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_clientcookie.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_gzip.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_headersutil.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_html.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_lwpcookiejar.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_mechanize.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_mozillacookiejar.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_msiecookiejar.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_opener.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_pullparser.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_request.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_urllib2.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_useragent.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_util.py
pycentral pkginstall: Not overwriting files owned by other packages:
  zope3: /usr/lib/python2.5/site-packages/mechanize/__init__.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_auth.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_clientcookie.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_gzip.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_headersutil.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_html.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_lwpcookiejar.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_mechanize.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_mozillacookiejar.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_msiecookiejar.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_opener.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_pullparser.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_request.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_urllib2.py
  zope3: /usr/lib/python2.5/site-packages/mechanize/_useragent.py
  zope3: /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-twisted-web2 (8.1.0-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
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 python-tz
 python-mechanize
 zope3
E: Sub-process /usr/bin/dpkg returned an error code (1)