Bug#881692: command-not-found: I re-wrote command-not-found

Xen list at xenhideout.nl
Fri Nov 17 08:38:16 UTC 2017

Shawn Landden schreef op 17-11-2017 8:55:

> On Thu, Nov 16, 2017 at 11:39 PM, Xen <list at xenhideout.nl> wrote:
> Julian Andres Klode schreef op 14-11-2017 8:50:
> * You should not depend on grep, sed, coreutils, they are Essential. 
> Can I ask what this means?
> I actually assume that these dependencies are not *required*, not that 
> you can't use the tools.

Required: yes. The highest priority. sysvinit was Required: yes until 
systemd came along https://www.debian.org/doc/debian-policy/#priorities


What I mean is that since they are already on a system you don't have to 
require them.

"Packages are not required to declare any dependencies they have on 
other packages which are marked Essential (see below), and should not do 
so unless they depend on a particular version of that package. [4]"

 From the same document.

As to sed, yeah it has issue with multi-line matching anyway.

Some people use perl to achieve the same.

More information about the Ubuntu-devel-discuss mailing list