[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem with command-not-found in buster



On 2019-11-03, Dan Ritter <dsr@randomstring.org> wrote:
> Mark Webb wrote: 
>> I am a novice user, Mark H. Webb.  I am programmer and learning C++.
>> I was compiling a program from github.  The item to compile was cilantro a
>> point cloud library in C++. the lib has many dependencies and I thought i
>> got them all, but I missed one, tinyply.
>> When I went to complied tinyply i get the following on terminal shell:
>> 
>> 
>> *Could not find the database of available applications, run
>> update-command-not-found as root to fix thisSorry, command-not-found has
>> crashed! Please file a bug report at:http://www.debian.org/Bugs/Reporting
>> <http://www.debian.org/Bugs/Reporting>Please include the following
>> information with the report:command-not-found version: 0.3Python version:
>> 3.7.3 final 0Distributor ID: DebianDescription: Debian GNU/Linux 10
>> (buster)Release: 10Codename: busterException information:local variable
>> 'cnf' referenced before assignmentTraceback (most recent call last):  File
>> "/usr/share/command-not-found/CommandNotFound/util.py", line 23, in
>> crash_guard    callback()  File "/usr/lib/command-not-found", line 93, in
>> main    if not cnf.advise(args[0], options.ignore_installed) and not
>> options.no_failure_msg:UnboundLocalError: local variable 'cnf' referenced
>> before assignment*
>> 
>> I am unsure how to clear this?  Is it as simple as deleting a file?  or do
>> i need to edit a file?
>
> It looks like it was trying to run command-not-found, which you
> can install with

I don't understand how command-not-found could require installation if
it crashed.

> sudo apt install command-not-found
>
> (I know, that's a wacky name.)

Inexplicably and obtusely confounding, would be how I'd put it.

> -dsr-
>
>


-- 
“The cradle rocks above an abyss, and common sense tells us that our existence
is but a brief crack of light between two eternities of darkness.” 
"Speak, Memory," Vladimir Nabokov


Reply to: