2020-04-28 22:27:22 |
errors.ubuntu.com bug bridge |
bug |
|
|
added bug |
2020-04-28 22:27:23 |
errors.ubuntu.com bug bridge |
bug |
|
|
added subscriber Brian Murray |
2020-04-28 22:38:55 |
Brian Murray |
tags |
bionic cosmic disco eoan focal |
bionic cosmic disco eoan focal rls-ff-incoming |
|
2020-05-02 19:00:38 |
El jinete sin cabeza |
tags |
bionic cosmic disco eoan focal rls-ff-incoming |
bionic cosmic disco eoan focal groovy rls-ff-incoming |
|
2020-05-07 14:53:05 |
Brian Murray |
command-not-found (Ubuntu): importance |
Undecided |
Medium |
|
2020-06-04 17:17:50 |
Brian Murray |
nominated for series |
|
Ubuntu Focal |
|
2020-06-04 17:17:50 |
Brian Murray |
bug task added |
|
command-not-found (Ubuntu Focal) |
|
2020-06-04 17:17:59 |
Brian Murray |
tags |
bionic cosmic disco eoan focal groovy rls-ff-incoming |
bionic cosmic disco eoan focal groovy |
|
2020-06-04 17:18:22 |
Brian Murray |
command-not-found (Ubuntu Focal): status |
New |
Triaged |
|
2020-06-04 17:18:24 |
Brian Murray |
command-not-found (Ubuntu): status |
New |
Triaged |
|
2020-06-04 17:18:27 |
Brian Murray |
command-not-found (Ubuntu Focal): importance |
Undecided |
Medium |
|
2020-06-05 12:32:40 |
Francis Ginther |
tags |
bionic cosmic disco eoan focal groovy |
bionic cosmic disco eoan focal groovy id-5ed914750353bc78c899460b |
|
2020-08-03 11:16:13 |
Lukas Märdian |
attachment added |
|
cnf-groovy.debdiff https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1875760/+attachment/5398251/+files/cnf-groovy.debdiff |
|
2020-08-03 11:16:36 |
Lukas Märdian |
attachment added |
|
cnf-focal.debdiff https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1875760/+attachment/5398252/+files/cnf-focal.debdiff |
|
2020-08-03 11:18:17 |
Lukas Märdian |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2020-08-20 19:43:52 |
Dimitri John Ledkov |
command-not-found (Ubuntu): status |
Triaged |
Fix Committed |
|
2020-08-20 19:43:54 |
Dimitri John Ledkov |
command-not-found (Ubuntu Focal): status |
Triaged |
In Progress |
|
2020-08-20 21:50:04 |
Launchpad Janitor |
command-not-found (Ubuntu): status |
Fix Committed |
Fix Released |
|
2020-08-24 12:08:12 |
Lukas Märdian |
attachment added |
|
cnf-focal2.debdiff https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1875760/+attachment/5404123/+files/cnf-focal2.debdiff |
|
2020-08-24 12:24:27 |
Lukas Märdian |
description |
The Ubuntu Error Tracker has been receiving reports about a problem regarding command-not-found. This problem was most recently seen with package version 20.04.2, the problem page at https://errors.ubuntu.com/problem/e1fb83cff555154efc036bf0674053c5e555d96b contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/. |
[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 sqlite3 database, the 2nd one will crash.
There is no impact on users, but we want to avoid the noise about those crashes in the Ubuntu Error Tracker.
This update ignores the update-db operation, if the database is already locked and logs a warning message.
[Test Case]
* Manually lock the database
* Run 'cnf-update-db'
* Verify it is not crashing
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;
exclusive
sqlite> BEGIN EXCLUSIVE;
sqlite>
sudo rm /var/lib/command-not-found/commands.db.metadata
sudo sudo /usr/lib/cnf-update-db --verbose
echo $?
[Regression Potential]
This changes touches the 'cnf-update-db' script which creates or updates the sqlite database containing the mappings between executables and its corresponding packages. It it regresses the database might not be correctly updated anymore and thus users might not get proper package recommendations when they try to execute a non-installed application.
[Original Bug Description]
The Ubuntu Error Tracker has been receiving reports about a problem regarding command-not-found. This problem was most recently seen with package version 20.04.2, the problem page at https://errors.ubuntu.com/problem/e1fb83cff555154efc036bf0674053c5e555d96b contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/. |
|
2020-08-26 15:04:16 |
Łukasz Zemczak |
command-not-found (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2020-08-26 15:04:17 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-08-26 15:04:19 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2020-08-26 15:04:22 |
Łukasz Zemczak |
tags |
bionic cosmic disco eoan focal groovy id-5ed914750353bc78c899460b |
bionic cosmic disco eoan focal groovy id-5ed914750353bc78c899460b verification-needed verification-needed-focal |
|
2020-08-26 15:06:18 |
Łukasz Zemczak |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2020-08-27 07:19:28 |
Lukas Märdian |
tags |
bionic cosmic disco eoan focal groovy id-5ed914750353bc78c899460b verification-needed verification-needed-focal |
bionic cosmic disco eoan focal groovy id-5ed914750353bc78c899460b verification-done-focal verification-needed |
|
2020-09-02 19:38:41 |
Launchpad Janitor |
command-not-found (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2020-09-02 19:38:45 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|