[Bug 1844651] Re: command-not-found-data package is unnecessary
Steve Langasek
steve.langasek at canonical.com
Mon Sep 23 18:56:56 UTC 2019
ok, I confirmed they are present for disco and later.
http://archive.ubuntu.com/ubuntu/dists/disco/main/cnf/
** Changed in: command-not-found (Ubuntu Eoan)
Status: Incomplete => Triaged
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/1844651
Title:
command-not-found-data package is unnecessary
Status in command-not-found package in Ubuntu:
Triaged
Status in command-not-found source package in Eoan:
Triaged
Bug description:
The command-not-found package has been modified to get command
information (Commands-* files) from the Ubuntu archive subsequently
the command-not-found-data package, which requires regular manually
updating, should be removed. As a reference here is a previous
changelog entry regarding dropping the package.
command-not-found (18.04.0~pre1) bionic; urgency=medium
* New version:
- switch from gdbm to sqlite (smaller files and faster searches)
- will fetch "dists/bionic/*/binary-*/cnf/Commands-* files
once the archive provides them
- CLI output follows what is outlined in LP: #1749777
- command-not-found-data switched to consume Commands-* files
(package can be dropped/emptied once server side Commands-* files
are available)
- support for suggestions based on snap packages
- add autopkgtest to the package
-- Michael Vogt <michael.vogt at ubuntu.com> Wed, 28 Feb 2018 14:26:58
+0100
That being said it would be good if the commands.db (/usr/share
/command-not-found/commands.db) was built during the image building
process so that command-not-found will work immediately after
installation.
Additionally, if commands.db does not exist command-not-found should
produce an error message along the lines of "No command-not-found
database generated yet, please run "sudo apt update"".
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1844651/+subscriptions
More information about the foundations-bugs
mailing list