MASTER - package failed to install/upgrade: pycentral pkginstall: not overwriting local files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-central (Ubuntu) |
Won't Fix
|
High
|
Unassigned |
Bug Description
Binary package hint: update-manager
Can't install python-psyco and other..
:: Symptoms ::
During a dist-upgrade, if some python modules have been installed by hand into the standard location /usr (not /usr/local) then the upgrade will fail with the following error:
=====
Preparing to replace python-psyco 1.5.1-3 (using .../python-
pycentral: pycentral pkgprepare: not overwriting local files
pycentral pkgprepare: not overwriting local files
dpkg: error processing /var/cache/
subprocess pre-installation script returned error exit status 1
=====
or
=====
Setting up python-psyco (1.6-1) ...
pycentral: pycentral pkginstall: not overwriting local files
pycentral pkginstall: not overwriting local files
dpkg: error processing python-psyco (--configure):
subprocess post-installation script returned error exit status 1
=====
:: How to reproduce ::
The following command will fail:
sudo pycentral pkginstall python-psyco
:: Workaround ::
Remove the manually installed package or set overwrite-local=1 in /etc/python/
description: | updated |
Changed in python-central: | |
assignee: | mvo → nobody |
tags: | added: metabug |
Thanks for your bugreport.
Here is what is causing the error:
Preparing to replace python-psyco 1.5.1-3 (using .../python- psyco_1. 6-1_i386. deb) ...^M apt/archives/ python- psyco_1. 6-1_i386. deb (--unpack):^M
pycentral: pycentral pkgprepare: not overwriting local files^M
pycentral pkgprepare: not overwriting local files^M
dpkg: error processing /var/cache/
subprocess pre-installation script returned error exit status 1^M