** Description changed:

  Binary package hint: update-manager
  
  Can't install python-psyco and other..
  
- ProblemType: Package
- Architecture: i386
- DistroRelease: Ubuntu 8.10
- ErrorMessage: ErrorMessage: SystemError in cache.commit(): E:Sub-process 
/usr/bin/dpkg returned an error code (1), E:Sub-process /usr/bin/dpkg returned 
an error code (1)
+ :: 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:
  
- Package: update-manager 1:0.93.32
- PackageArchitecture: all
- SourcePackage: update-manager
- Title: package update-manager 1:0.93.32 failed to install/upgrade: 
ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg 
returned an error code (1), E:Sub-process /usr/bin/dpkg returned an error code 
(1)
- Uname: Linux 2.6.24-21-generic i686
+ =====
+ Preparing to replace python-psyco 1.5.1-3 (using 
.../python-psyco_1.6-1_i386.deb) ...
+ pycentral: pycentral pkgprepare: not overwriting local files
+ pycentral pkgprepare: not overwriting local files
+ dpkg: error processing /var/cache/apt/archives/python-psyco_1.6-1_i386.deb 
(--unpack):
+  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/debian_config and retry the upgrade of the package

-- 
MASTER - package failed to install/upgrade: pycentral pkginstall: not 
overwriting local files
https://bugs.launchpad.net/bugs/291262
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to