View Issue Details

IDProjectCategoryView StatusLast Update
0007068Kali LinuxGeneral Bugpublic2022-03-28 09:19
ReporterMRX Assigned Todaniruiz  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionsuspended 
Product Version2021.1 
Summary0007068: Kali 2021.1 gives an error "comment_not_found".
Description

┌──(mrx㉿kali)-[~]
└─$ try 127 ⨯
Sorry, command-not-found has crashed! Please file a bug report at:
http://www.debian.org/Bugs/Reporting
Please include the following information with the report:

command-not-found version: 0.3
Python version: 3.9.1 final 0
Distributor ID: Kali
Description: Kali GNU/Linux Rolling
Release: 2021.1
Codename: kali-rolling
Exception information:

unable to open database file
Traceback (most recent call last):
File "/usr/share/command-not-found/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/share/command-not-found/CommandNotFound/CommandNotFound.py", line 79, in init
self.db = SqliteDatabase(dbpath)
File "/usr/share/command-not-found/CommandNotFound/db/db.py", line 12, in init
self.con = sqlite3.connect(filename)
sqlite3.OperationalError: unable to open database file

Activities

rhertzog

rhertzog

2021-02-26 14:12

administrator   ~0014252

Can you elaborate in what context you get that error? Is that a freshly installed system? a freshly upgraded system? a live system?

Have you run "sudo apt update" once after the upgrade?

Does "sudo update-command-not-found" fix the issue?

daniruiz

daniruiz

2022-03-28 09:19

manager   ~0015966

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://www.kali.org/docs/community/submitting-issues-kali-bug-tracker/

Issue History

Date Modified Username Field Change
2021-02-26 09:25 MRX New Issue
2021-02-26 14:12 rhertzog Note Added: 0014252
2021-03-13 06:31 Ehtisham Issue cloned: 0007097
2021-06-30 08:49 g0tmi1k Priority immediate => normal
2022-03-25 13:58 g0tmi1k Severity feature => minor
2022-03-28 09:19 daniruiz Note Added: 0015966
2022-03-28 09:19 daniruiz Assigned To => daniruiz
2022-03-28 09:19 daniruiz Status new => closed
2022-03-28 09:19 daniruiz Resolution open => suspended