Comment 2 for bug 302883

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The cause of the failure is
====
Setting up python-pexpect (2.1-1build1) ...

pycentral: pycentral pkginstall: not overwriting local files

pycentral pkginstall: not overwriting local files

dpkg: error processing python-pexpect (--configure):

 subprocess post-installation script returned error exit status 1

====

This is an intended behavior of pycentral to not overwrite locally
installed python modules. So, this is not an error in Ubuntu.

Did you install a previous version of python-pexpect by hand (or with
easyinstall ) ?

You can either remove the version previously installed or set overwrite-
local=1 in /etc/python/debian_config and retry the upgrade of the
package.

Let us know if this helps.