I guess I'm having the same bug, plaguing me since upgrading to 20.04.

I have a 100% reproducible
```
$ LC_ALL=en-US.UTF-8 blabla
Omlouváme se, command-not-found zhavaroval! Prosíme nahlaste chybu na:
https://bugs.launchpad.net/command-not-found/+filebug
K hlášení přidejte následující informace:

command-not-found verze: 0.3
Python verze: 3.8.2 final 0
Distributor ID: Ubuntu
Description:    Ubuntu 20.04 LTS
Release:        20.04
Codename:       focal
Informace o výjimce:

unable to open database file
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/CommandNotFound/util.py", line 23, in 
crash_guard
callback()
File "/usr/lib/command-not-found", line 90, in main
cnf = CommandNotFound.CommandNotFound(options.data_dir)
File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 
79, in __init__
self.db = SqliteDatabase(dbpath)
File "/usr/lib/python3/dist-packages/CommandNotFound/db/db.py", line 12, in 
__init__
self.con = sqlite3.connect(filename)
sqlite3.OperationalError: unable to open database file
```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1871670

Title:
  cnf-update-db crashed with sqlite3.OperationalError in create():
  database is locked

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1871670/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to