command-not-found has crashed after trying to move some files after I unzipped

Bug #352097 reported by steevz
2
Affects Status Importance Assigned to Milestone
command-not-found (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: command-not-found

Okay, I downloaded some levels for Pingus and extracted them in my ~/downloads folder and it said some files couldn't be transferred then my icons in my quick bar disappeared, I couldn't access my home folder, ect so I tried to reset X Server with Ctrl+Alt+Backspace and I got the following error and it keeps happening on boot. I think I typed: sudo mv share/* usr/*

share/ had all the directories to put the levels in the right place, don't know what happened.

I get something telling me there is No resume image, doing normal boot... then I get command line in boot.

If I type xserver or hit ctrl+alt+F7 I get something like this:

command-not-found has crashed.

command-not-found version: 0.2.21
Python version: 2.5.2 final 0
Distributor ID: Ubuntu
Description: Ubuntu 8:10
Release: 8.10
Codename: intrepid
Exception information:

[Errno2] No such file or directory: '/usr/share/command-not-found/programs.d'
Traceback {most recent call last):
File "/usr/lib/python2.5/site-packages/CommandNotFound/util.py", line 32 in crash_guard
File "/usr/lib/command-not-found", line 24, in main
         Command NotFound{options.data_dir).advise(args[0], options.ignore_installed)
File "usr/lib/python2.5/site_packages/CommandNotFound/CommandNotFound.py, line 63, in __init__

OSError: [Errno2] No such file or directory: '/usr/share/command-not-found/programs.d

Any help would be great. Thanks.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugrpeort.

Do you have the command-not-found-data package installed?

Changed in command-not-found (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.