python-apport 1.0-Oubuntu5.4 failed to install or upgrade

Bug #448123 reported by matthew
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
newt (Ubuntu)
New
Undecided
Unassigned

Bug Description

An error occurred while running Update Manager:

E: /var/cache/apt/archives/python-newt_0.52.2-11.3ubuntu3.1_amd64.deb: subprocess new pre-removal script returned error exit status 1
E: /var/cache/apt/archives/python-problem-report_1.0-0ubuntu5.4_all.deb: subprocess new pre-removal script returned error exit status 1
E: /var/cache/apt/archives/python-apport_1.0-0ubuntu5.4_all.deb: subprocess new pre-removal script returned error exit status 1
E: /var/cache/apt/archives/apport_1.0-0ubuntu5.4_all.deb: subprocess new pre-removal script returned error exit status 1
E: /var/cache/apt/archives/python-uno_1%3a3.0.1-9ubuntu3.1_amd64.deb: subprocess new pre-removal script returned error exit status 1

ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess new pre-removal script returned error exit status 1
NonfreeKernelModules: nvidia
Package: python-newt 0.52.2-11.3ubuntu3
SourcePackage: newt
Title: package python-newt 0.52.2-11.3ubuntu3 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
Uname: Linux 2.6.28-15-generic x86_64

Revision history for this message
matthew (matth3) wrote :
Revision history for this message
matthew (matth3) wrote :

This problem was user error.
It has been resolved by setting the symlink /usr/bin/python to point at python 2.6 instead of python 2.5.

Revision history for this message
Davidsr (dhigginbotham-sr) wrote :

matthew, for a newbee, how do I do this? use symlink, change and ensure python will take the overwrite,etc?
thank you
davidsr

Revision history for this message
matthew (matth3) wrote : Re: [Bug 448123] Re: python-apport 1.0-Oubuntu5.4 failed to install or upgrade

Davidsr wrote:
> matthew, for a newbee, how do I do this? use symlink, change and ensure python will take the overwrite,etc?
> thank you
> davidsr
>
>
Hi David

The problem I had was that there were two versions of python installed,
python2.5 and python2.6. I had previously changed /usr/bin/python to
point at python2.5. To change it back to python2.6, use the following
command in a terminal window:

    sudo ln -s /usr/bin/python2.6 /usr/bin/python

Of course this assumes you have python2.6 installed.

Matthew

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.