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
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