I just received my Librem 13 and when I opened a shell and typed “ll” to look for a file I received the following:
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:
comand-not-found version: 0.3
Python version: 3.7.2 final 0
Distributor ID: PureOS
Description: PureOS GNU/Linux 8
Codename: green
Exception information:
local variable ‘cnf’ referenced before assignment blah blah blah
After trying ll, did you run sudo update-command-not-found, and then that’s what caused the crash? Or even without trying it, it then printed the error message?
Additionally, have you run sudo apt update and sudo apt upgrade? That might help clear up some issues.
I tried sudo update-command-not-found and there was nothing in STDOUT.
I did an apt-get dist-upgrade and upgraded a ton of stuff and that did not fix it.
I even did apt-get remove command-not-found and then reinstalled it. Nothing.
I may be way off base and this may be something else, so take this with a grain of salt.
It looks like command-not-found may be the same version as reported in this Purism tracker item, so I wonder if your issue is related to that. (I finally just uninstalled that package, so I do not know if it has been fixed and updated. I do not think so.)
It is indeed the same version. I will read some more about it. To be honest, I never even heard of command-not-found until I bought my Librem. If I have gone 20+ years of Unix without it, it will not hurt me to go without it now.