Olaf Meeuwissen <olaf.meeuwis...@avasys.jp> wrote: > > Here is a useful command that you can use on Debian and Ubuntu systems > > in situations like this: > > > > $ dpkg -S makeinfo > > texinfo: /usr/bin/makeinfo > > octave3.2-common: /usr/share/octave/3.2.4/m/help/__makeinfo__.m > > emacs23-common: /usr/share/emacs/23.1/lisp/textmodes/makeinfo.elc > > texinfo: /usr/share/man/man1/makeinfo.1.gz > > This only works for installed packages, though, as it searches the files > below /var/lib/dpkg/info, IIRC. > BTW, dpkg forwards that request to dpkg-query. >
Ah, you are right: it's only useful after the fact. Nick > > [...] > > > > $ goo > > The program 'goo' is currently not installed. To run 'goo' please ask your > > administrator to install the package 'goo' > > In which case `apt-cache show goo` may be of help. > > Hope this helps, > -- > Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION > FSF Associate Member #1962 Help support software freedom > http://www.fsf.org/jf?referrer=1962 >