PDA

View Full Version : [ubuntu] Cannot update anything



Tyrfing
July 9th, 2009, 04:52 PM
Hello, I am currently running Ubuntu 8.04, and I cannot upgrade any program. Whenever I try to run an update, I always get this error message:


E: python2.5-minimal : subprocess post-installation script returned error exit status 1

Does anyone have any ideas on what to do? Or what other information I can retrieve to help diagnose this problem? Thanks so much!

-Tyrfing

Tyrfing
July 9th, 2009, 07:20 PM
bump

Tyrfing
July 10th, 2009, 12:54 AM
bump2

Tyrfing
July 10th, 2009, 04:39 PM
bump3...

geekity2
July 10th, 2009, 05:10 PM
Hi Tyrfing,

did you run the upgrade through the gui or using apt/aptitude? If you run
sudo aptitude update && sudo aptitude safe-upgrade it may give you some options to fix this...

Tyrfing
July 10th, 2009, 05:31 PM
I tried that command, this was the result...











Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up python2.5-minimal (2.5.2-2ubuntu4.1) ...
Linking and byte-compiling packages for runtime python2.5...
pycentral: pycentral rtinstall: package python-imaging: not overwriting local files
pycentral rtinstall: package python-imaging: not overwriting local files
dpkg: error processing python2.5-minimal (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
python2.5-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up python2.5-minimal (2.5.2-2ubuntu4.1) ...
Linking and byte-compiling packages for runtime python2.5...
pycentral: pycentral rtinstall: package python-imaging: not overwriting local files
pycentral rtinstall: package python-imaging: not overwriting local files
dpkg: error processing python2.5-minimal (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python2.5:
python2.5 depends on python2.5-minimal (= 2.5.2-2ubuntu4.1); however:
Package python2.5-minimal is not configured yet.
dpkg: error processing python2.5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python2.5-dev:
python2.5-dev depends on python2.5 (= 2.5.2-2ubuntu4.1); however:
Package python2.5 is not configured yet.
dpkg: error processing python2.5-dev (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
python2.5-minimal
python2.5
python2.5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done

jrox717
July 10th, 2009, 06:31 PM
It seems like the problem has to do with the package python2.5 and related packages. I'm not sure if this is what you need to do, but I would try to remove it.

sudo apt-get purge python2.5
(Purge deletes all config files in addition to the package itself.) If needed, also manually get rid of python2.5-minimal or python2.6-dev

Soul-Sing
July 10th, 2009, 08:49 PM
sudo apt-get remove python2.5-minimal

sudo apt-get update

lukeiamyourfather
July 10th, 2009, 08:53 PM
Have you modified or removed the original Python installation, for example installing a new version of Python over the original?

emax
August 3rd, 2009, 10:29 AM
sudo apt-get remove python2.5-minimal

sudo apt-get update

Same problem here.

Running these suggested commands wants to remove half my system!!



This should NOT be done unless you know exactly what you are doing!
python-minimal python2.5-minimal (due to python-minimal)
0 upgraded, 0 newly installed, 245 to remove and 16 not upgraded.
2 not fully installed or removed.
After this operation, 662MB disk space will be freed.
You are about to do something potentially harmful
To continue type in the phrase ‘Yes, do as I say!’
?]