View Issue Details

IDProjectCategoryView StatusLast Update
0004482Kali LinuxKali Package Bugpublic2018-01-17 08:17
Reportermyxal Assigned Torhertzog  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version2017.3 
Summary0004482: command-not-found doesn't work
Description

package version: 0.2.38-4
Command-not-found is currently unusable. Running update-command-not-found exits immediately with 0. The cache that should be created (according to manual page), /var/cache/apt/apt-file... is not created.

Steps To Reproduce

Install command-not-found package.

Run update-command-not-found as root.

Check for presence of databases, or, enter a command for program which is not installed.

Additional Information

Minimal installation (core utilities, SSH server chosen during netinstall).

Activities

myxal

myxal

2018-01-16 16:47

reporter   ~0007822

I'm confused as to how apt works - apparently, after issuing apt update, the update-command-not-found works as expected. Yet, I had already installed quite a few packages before issuing apt update, so I thought the package listing was already downloaded..?

rhertzog

rhertzog

2018-01-17 08:17

administrator   ~0007825

command-not-found relies on apt-file for the database, apt-file relies on apt (it provides an apt configuration snippet to instruct it to download Contents files).

So yes an "apt update" is needed before "update-command-not-found" does anything useful.

Issue History

Date Modified Username Field Change
2018-01-16 15:56 myxal New Issue
2018-01-16 16:47 myxal Note Added: 0007822
2018-01-17 08:17 rhertzog Assigned To => rhertzog
2018-01-17 08:17 rhertzog Status new => closed
2018-01-17 08:17 rhertzog Resolution open => no change required
2018-01-17 08:17 rhertzog Note Added: 0007825