Package: command-not-found 
Package version: 0.3
Python version: 3.7.3 final 0
Distributor ID: PureOS
Description: PureOS
Release: 9.0
Codename: amber
Exception information:

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

-- 
 Sent with Tutanota, the secure & ad-free mailbox. 

Reply via email to