command-not-found cannot access database
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found |
New
|
Undecided
|
Unassigned |
Bug Description
command-not-found version: 0.3
Python version: 3.7.3 final 0
Distributor ID: Ubuntu
Description: Ubuntu 19.04
Release: 19.04
Codename: disco
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.
$ ls -l /var/lib/
-rw-r----- 1 root root 3256320 May 1 11:05 commands.db
-rw-r----- 1 root root 1602 May 1 11:05 commands.
Even after fixing the permissions, they revert after every aptitude update.
Likely a duplicate of https:/ /bugs.launchpad .net/command- not-found/ +bug/1824000