This solution worked for me:
http://ubuntuforums.org/showthread.php?t=1868190
$ pwd
/usr/local/bin
$ sudo mv python2.6 python2.6__
$ sudo dpkg --configure -a
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to beautifulsoup in Ubuntu.
http
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to beautifulsoup in Ubuntu.
https://bugs.launchpad.net/bugs/915167
Title:
package python-beautifulsoup 3.2.0-1 failed to install/upgrade:
subprocess installed post-installation script ret
Public bug reported:
Problem installing -
sudo apt-get install linaro-image-tools
ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: python-beautifulsoup 3.2.0-1
ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
Uname: Linux 2.6.38-11-generic x86_64
NonfreeKernelModules: nvidia
A