command-not-found

Martin Schmitz ubuntu at zangpo.org
Fre Aug 3 01:08:56 BST 2007


Am 02.08.07 schrieb kazaam <kazaam at oleco.net>:
> Ich glaube dur verpeilst da was.

Nein, der Verpeilte bist Du!

> "Command not found" ist der standard ouput nach stout für einen
> Befehl, den es nicht gibt. 

Jo, es wurde aber nach command-not-found gefragt. Das ist das hier:

martin at heruka:~$ dpkg -l | grep command-not-found
command-not-found 0.2.4 Suggest installation of packages in interact
command-not-found-data 0.2.4 Set of data files for command-not-found.

> Unter Ubuntu wird bei diesem output synaptics nach Abhängigkeiten
> gecheckt und das sagt dir dann, in welchen Paketen aus deinen
> repositories der Befehl/ das Programm vorhanden ist.

Unfug! Wäre es so, würde das jeweils endlos dauern (gefühlt).

> Ohne bestehende inet Verbindung dürfte das auch nicht klappen.

Und wieder Unsinn: weder apt-cache noch command-not-found brauchen eine
bestehende Internetverbindung.

> > - Warum gibt es dazu keine Manpage? Soweit mir bekannt ist gibt es
> > bei Debian eine Policy jedes Package muss eine Manpage haben. Gilt
> > das bei Ubuntu nicht?

Nunja, diese seltsame Debian-Policy sorgt eigentlich nur dafür, daß es
in Debian zig Handbuchseiten gibt, in denen steht, daß es keine
Handbuchseite gibt...

/usr/share/doc/command-not-found/README verweist auf
https://wiki.ubuntu.com/CommandNotFoundMagic

Martin