Could not find command-not-found database

Bug #2042691 reported by corrado venturini
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
command-not-found (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu Noble: on terminal enter name of not installed package i have the following out:

corrado@corrado-n4-nn-1102:~$ nvme
Could not find command-not-found database. Run 'sudo apt update' to populate it.
nvme: command not found
corrado@corrado-n4-nn-1102:~$ apt policy command-not-found
command-not-found:
  Installed: 23.04.0
  Candidate: 23.04.0
  Version table:
 *** 23.04.0 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu noble/main i386 Packages
        100 /var/lib/dpkg/status
corrado@corrado-n4-nn-1102:~$

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: command-not-found 23.04.0
ProcVersionSignature: Ubuntu 6.5.0-9.9-generic 6.5.3
Uname: Linux 6.5.0-9-generic x86_64
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Nov 3 18:34:19 2023
InstallationDate: Installed on 2023-11-02 (1 days ago)
InstallationMedia: Ubuntu 24.04 "Noble Numbat" - Daily amd64 (20231102)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: command-not-found
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
corrado venturini (corradoventu) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in command-not-found (Ubuntu):
status: New → Confirmed
Revision history for this message
corrado venturini (corradoventu) wrote :

/var/lib/command-not-found has been populated

corrado@corrado-n4-nn-0215:~$ ls /var/lib/command-not-found -lh
total 3.5M
-rw-r--r-- 1 root root 3.5M Feb 15 10:01 commands.db
-rw-r--r-- 1 root root 3.2K Feb 15 10:01 commands.db.metadata
corrado@corrado-n4-nn-0215:~$

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.