command-not-found Crashing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: command-not-found
O.S: Ubuntu Gutsy Gibbon Tribe 2
Package: command-not-found 0.2.7
Date of occurrence: 28 Aug 07
Description:
command-not-found generates the following message when an unknown command (in this case, ll) is entered on the command line after I updated Gutsy Gibbon with the latest patches on 27 Aug 07 (using apt-get upgrade):
root@hostname:
KABOOOM!!!
Whoops, command-not-found has crashed! Please file a bug report at:
https:/
Please include the following information with the report:
[Errno 2] No such file or directory: '/usr/share/
Traceback (most recent call last):
File "/usr/lib/
CommandNotF
File "/usr/lib/
for filename in os.listdir(
OSError: [Errno 2] No such file or directory: '/usr/share/
Python version: 2.5.1 final 0
bash: ll: command not found
I removed and reinstalled the package, but get the same results.
Thanks,
Steve Illgen
It seems like you are missing command- not-found- data, but command-not-found depends on it..
Do you have the most recent version of the packages installed?
$ dpkg -l | grep command-not-found not-found- data 0.2.7 Set of data files for command-not-found.
ii command-not-found 0.2.7 Suggest installation of packages in interact
ii command-