Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 3 down vote accepted

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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