Package: command-not-found
Version: 18.04.5-1
Severity: important

Dear Maintainer,

After powering up my PureOS computer, after having been in sleep mode, I 
attempted to execute the "rox" command, knowing that I'd get a message if it 
wasn't installed.  I was presented with the following:

--------------------------
curtis@living-room-pc:~$ rox
Could not find the database of available applications, run 
update-command-not-found as root to fix this
Sorry, command-not-found has crashed! Please file a bug report at:
http://www.debian.org/Bugs/Reporting
Please include the following information with the report:

command-not-found 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
--------------------------


-- System Information:
Distributor ID: PureOS
Description:    PureOS
Release:        9.0
Codename:       amber
Architecture: x86_64

Kernel: Linux 4.19.0-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages command-not-found depends on:
ii  apt-file     3.2.2
ii  lsb-release  10.2019031300pureos1
ii  python3      3.7.3-1
ii  python3-apt  1.8.4pureos3

command-not-found recommends no packages.

Versions of packages command-not-found suggests:
ii  snapd  2.37.4-1+b1

-- no debconf information

Reply via email to