$ sudo adduser --system --home /opt/fuseki --no-create-home fuseki
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found |
New
|
Undecided
|
Unassigned |
Bug Description
Running the command "sudo adduser --system --home /opt/fuseki --no-create-home fuseki" gives an error message:
---
Sorry, command-not-found has crashed! Please file a bug report at:
https:/
Please include the following information with the report:
command-not-found version: 0.3
Python version: 3.8.10 final 0
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
Exception information:
unable to open database file
Traceback (most recent call last):
File "/usr/lib/
callback()
File "/usr/lib/
cnf = CommandNotFound
File "/usr/lib/
self.db = SqliteDatabase(
File "/usr/lib/
self.con = sqlite3.
sqlite3.
mijuahon@
---
"sudo adduser --help" and "sudo adduser" work fine, latter of course asking more information..
sudo chmod ugo+r /var/lib/ command- not-found/ commands. db* fixed the problem