[Bug 1871670] Re: cnf-update-db crashed with sqlite3.OperationalError in create(): database is locked
Mark
1871670 at bugs.launchpad.net
Tue May 12 19:30:04 UTC 2020
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
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/1871670
Title:
cnf-update-db crashed with sqlite3.OperationalError in create():
database is locked
Status in command-not-found package in Ubuntu:
Confirmed
Bug description:
After loading the 20.04 UBUNTU when i update this message is coming.
ProblemType: Crash
DistroRelease: Ubuntu 20.04
Package: command-not-found 20.04.2
ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
Uname: Linux 5.4.0-21-generic x86_64
ApportVersion: 2.20.11-0ubuntu25
Architecture: amd64
CrashCounter: 1
Date: Wed Apr 8 19:02:37 2020
ExecutablePath: /usr/lib/cnf-update-db
InstallationDate: Installed on 2020-04-08 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
InterpreterPath: /usr/bin/python3.8
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/lib/cnf-update-db
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=tr_TR.UTF-8
SHELL=/bin/bash
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonArgs: ['/usr/lib/cnf-update-db']
PythonDetails: N/A
SourcePackage: command-not-found
Title: cnf-update-db crashed with sqlite3.OperationalError in create(): database is locked
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1871670/+subscriptions
More information about the foundations-bugs
mailing list