I type some command which does not exist at the terminal and I get:

$ asd
/usr/bin/python: can't find '__main__.py' in '/usr/share/command-not-found'

How do I fix the above to display the correct error message? The Ubuntu version I'm using is 10.04, 2.6.32-22

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

See this bug. You can try the workaround listed or reinstall command-not-found and command-not-found-data.

link|improve this answer
Well that was some easy reputation for a Google search. – ta.speot.is May 16 '10 at 1:53
1  
Or remove them... personally I can't stand the added delay when I've just made a simple typo! – bobince May 16 '10 at 12:52
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.