I'm running Ubuntu 11.04 machine. I had accidentally removed Python2.7.2 which I've sorted now, GUI is running and all other commands like easy_install, pip are working.
But when I type any apt commands like apt-get, apt-cache I get following error:
/usr/bin/python: can't find '_ _main _ _' module in '/usr/share/command-not-found'
How can I fix this?
sudo apt-get -f install? – Mitch Aug 1 '12 at 10:31sudo dpkg -i command*.deb– Izzy Aug 1 '12 at 11:05