local variable 'cnf' referenced before assignment
Traceback (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 ran "ls -l /var/lib/command-not-found" and noticed that there were no files in the directory. I then updated command-not-found, but this did not solve the problem. I suspect that missing the "command.db" file is causing a problem.
Best,
Arcenis Rojas