[Python-modules-team] Bug#524303: me too

James Cameron quozl at laptop.org
Thu Apr 16 08:12:56 UTC 2009


I get it as well.

Setting up python-elementtree (1.2.6-13) ...
Usage: update-python-modules [-v] [-c] package_directory [...]
       update-python-modules [-v] [-c] package.dirs [...]
       update-python-modules [-v] [-a|-f|-p]

update-python-modules: error:
/usr/share/python-support/python-elementtree.public is not a directory
dpkg: error processing python-elementtree (--configure):
 subprocess post-installation script returned error exit status 2
Setting up python-sip4 (4.7.9-2) ...
Setting up realpath (1.14) ...
Errors were encountered while processing:
 python-elementtree
E: Sub-process /usr/bin/dpkg returned an error code (1)
host:/root#

Also, the postinst has an extra space ...

#!/bin/sh
set -e
# Automatically added by dh_pysupport
if which update-python-modules >/dev/null 2>&1; then
        update-python-modules  python-elementtree.public
fi
# End automatically added section

/usr/share/python-support/python-elementtree.public is indeed provided
by the package as a file.

A similar problem occurs on package removal ...

Removing python-celementtree ...
Removing python-elementtree ...
Usage: update-python-modules [-v] [-c] package_directory [...]
       update-python-modules [-v] [-c] package.dirs [...]
       update-python-modules [-v] [-a|-f|-p]

update-python-modules: error: /usr/share/python-support/python-elementtree.public is not a directory
dpkg: error processing python-elementtree (--remove):
 subprocess pre-removal script returned error exit status 2
Usage: update-python-modules [-v] [-c] package_directory [...]
       update-python-modules [-v] [-c] package.dirs [...]
       update-python-modules [-v] [-a|-f|-p]

update-python-modules: error: /usr/share/python-support/python-elementtree.public is not a directory
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 2
Processing triggers for python-support ...
Processing triggers for man-db ...
Errors were encountered while processing:
 python-elementtree
E: Sub-process /usr/bin/dpkg returned an error code (1)



-- 
James Cameron    mailto:quozl at us.netrek.org     http://quozl.netrek.org/





More information about the Python-modules-team mailing list