View Issue Details

IDProjectCategoryView StatusLast Update
0007068Kali Linux[All Projects] General Bugpublic2021-06-30 08:49
ReporterMRX Assigned To 
Status newResolutionopen 
Product Version2021.1 
Target VersionFixed in Version 
Summary0007068: Kali 2021.1 gives an error "comment_not_found".
└─$ try 127 ⨯
Sorry, command-not-found has crashed! Please file a bug report at:
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/", line 23, in crash_guard
  File "/usr/lib/command-not-found", line 90, in main
    cnf = CommandNotFound.CommandNotFound(options.data_dir)
  File "/usr/share/command-not-found/CommandNotFound/", line 79, in __init__
    self.db = SqliteDatabase(dbpath)
  File "/usr/share/command-not-found/CommandNotFound/db/", line 12, in __init__
    self.con = sqlite3.connect(filename)
sqlite3.OperationalError: unable to open database file



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?

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