[Bug 1875760] Re: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update-db@26:create

2020-09-02 Thread Launchpad Bug Tracker
This bug was fixed in the package command-not-found - 20.04.4 --- command-not-found (20.04.4) focal; urgency=medium * Avoid crash if tmpdb is locked. Skip execution and let the other process do its job. (LP: #1875760) -- Lukas Märdian Mon, 03 Aug 2020 13:10:24 +0200 **

[Bug 1875760] Re: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update-db@26:create

2020-08-27 Thread Lukas Märdian
Hello Lukasz, I could successfully verify this SRU inside a Focal LXD container for command-not-found 20.04.4: root@f:~# dpkg -l | grep command-not-found ii command-not-found 20.04.4all Suggest installation of packages in interactive bash

[Bug 1875760] Re: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update-db@26:create

2020-08-26 Thread Łukasz Zemczak
Hello errors.ubuntu.com, or anyone else affected, Accepted command-not-found into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/command- not-found/20.04.4 in a few hours, and then in the -proposed repository. Please help us by testing this

[Bug 1875760] Re: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update-db@26:create

2020-08-24 Thread Lukas Märdian
** Description changed: + [Impact] + + The Ubuntu Error Tracker has been receiving reports about a problem + regarding command-not-found. c-n-f- crashes when there are two parallel + processes trying to update the tmpdb via its 'cnf-update-db' script. + Only the first process can lock the

[Bug 1875760] Re: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update-db@26:create

2020-08-24 Thread Lukas Märdian
Apparently version 20.04.3 has already be used/burned in focal. Attaching another debdiff `cnf-focal2.debdiff`, to bump the version to 20.04.4 ... ** Patch added: "cnf-focal2.debdiff"

[Bug 1875760] Re: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update-db@26:create

2020-08-20 Thread Launchpad Bug Tracker
This bug was fixed in the package command-not-found - 20.10.1 --- command-not-found (20.10.1) groovy; urgency=medium * Avoid crash if tmpdb is locked. Skip execution and let the other process do its job. (LP: #1875760) -- Lukas Märdian Mon, 03 Aug 2020 13:06:59 +0200 **

[Bug 1875760] Re: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update-db@26:create

2020-08-20 Thread Dimitri John Ledkov
** Changed in: command-not-found (Ubuntu) Status: Triaged => Fix Committed ** Changed in: command-not-found (Ubuntu Focal) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1875760] Re: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update-db@26:create

2020-08-03 Thread Lukas Märdian
I've attached two debdiff patches to fix the problem for focal (command- not-found 20.04.2) and groovy (command-not-found 20.10.0). I'm looking for a sponsor/review. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1875760] Re: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update-db@26:create

2020-08-03 Thread Lukas Märdian
** Patch added: "cnf-groovy.debdiff" https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1875760/+attachment/5398251/+files/cnf-groovy.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1875760] Re: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update-db@26:create

2020-08-03 Thread Lukas Märdian
** Patch added: "cnf-focal.debdiff" https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1875760/+attachment/5398252/+files/cnf-focal.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1875760] Re: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update-db@26:create

2020-08-03 Thread Lukas Märdian
This is a working reproducer: sudo cp /var/lib/command-not-found/commands.db /var/lib/command-not-found/commands.db.tmp sudo sqlite3 /var/lib/command-not-found/commands.db.tmp SQLite version 3.31.1 2020-01-27 19:55:54 Enter ".help" for usage hints. sqlite> PRAGMA locking_mode = EXCLUSIVE;

[Bug 1875760] Re: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update-db@26:create

2020-06-05 Thread Francis Ginther
** Tags added: id-5ed914750353bc78c899460b -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1875760 Title: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update- db@26:create To

[Bug 1875760] Re: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update-db@26:create

2020-06-04 Thread Brian Murray
** Also affects: command-not-found (Ubuntu Focal) Importance: Undecided Status: New ** Tags removed: rls-ff-incoming ** Changed in: command-not-found (Ubuntu Focal) Status: New => Triaged ** Changed in: command-not-found (Ubuntu) Status: New => Triaged ** Changed in:

[Bug 1875760] Re: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update-db@26:create

2020-06-04 Thread Dimitri John Ledkov
imho we should be resilient. Catch errors, ignore them, report success / skip, and ensure that ux is fine. As a reproducer, one should be able to lock the db externally, run apt- update and see how it looks like. -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1875760] Re: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update-db@26:create

2020-05-07 Thread Brian Murray
** Changed in: command-not-found (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1875760 Title:

[Bug 1875760] Re: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update-db@26:create

2020-05-02 Thread El jinete sin cabeza
** Tags added: groovy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1875760 Title: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update- db@26:create To manage notifications about

[Bug 1875760] Re: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update-db@26:create

2020-04-28 Thread Brian Murray
** Tags added: rls-ff-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1875760 Title: /usr/lib/cnf-update-db:sqlite3.OperationalError:/usr/lib/cnf-update- db@26:create To manage