[Bug 789120] Re: package software-center 4.0.1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1

Daniel Manrique daniel.manrique at canonical.com
Fri May 27 14:39:39 UTC 2011


Simi,

Thank you for taking the time to report this bug and helping to make
Ubuntu better.

/usr/bin/python is a symbolic link, could you check what it is pointing
to?

ls -la /usr/bin/python

if it's not python 2.7, you can manually link it to the correct version:

sudo rm /usr/bin/python
sudo ln -s /usr/bin/python2.7 /usr/bin/python

I'd appreciate if you could try my suggestions, and then reply here to
let me know whether this helped solve the problem.

Thanks!


** Changed in: software-center (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/789120

Title:
  package software-center 4.0.1 failed to install/upgrade: subprocess
  new pre-removal script returned error exit status 1

Status in “software-center” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: software-center

  I need to run Python 2.6.6 but any Ubuntu upgrades need Python 2.7,
  however using update-alternatives has been unsuccessful to work when I
  switch to Python 2.7.

  ProblemType: Package
  DistroRelease: Ubuntu 11.04
  Package: software-center 4.0.1
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic i686
  Architecture: i386
  Date: Fri May 27 08:45:06 2011
  ErrorMessage: subprocess new pre-removal script returned error exit status 1
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
  PackageArchitecture: all
  SourcePackage: software-center
  Title: package software-center 4.0.1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
  UpgradeStatus: Upgraded to natty on 2011-04-28 (28 days ago)




More information about the foundations-bugs mailing list