Comment 7 for bug 118814

Revision history for this message
Steve Illgen (sillgen) wrote :

I get this message in Gutsy Gibbon after typing the an unknown command (in this case, 'll') even after removing and reinstalling the package. This did not happen until I did a basic upgrade on 27 Aug 07:

KABOOOM!!!

Whoops, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/ubuntu/+source/command-not-found
Please include the following information with the report:
[Errno 2] No such file or directory: '/usr/share/command-not-found/programs.d'
Traceback (most recent call last):
  File "/usr/lib/command-not-found", line 24, in <module>
    CommandNotFound(options.data_dir).advise(args[0])
  File "/usr/lib/python2.5/site-packages/CommandNotFound/CommandNotFound.py", line 72, in __init__
    for filename in os.listdir(os.path.sep.join([data_dir, self.programs_dir])):
OSError: [Errno 2] No such file or directory: '/usr/share/command-not-found/programs.d'
Python version: 2.5.1 final 0
bash: ll: command not found