Rémi Vanicat <[email protected]> wrote:

> Olaf Meeuwissen <[email protected]> writes:
> 
> > Nick Dokos <[email protected]> writes:
> >
> 
> [...]
> 
> 
> >> $ 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.
> >
> 
> you might want to use apt-files
> 
> $ apt-file search makeinfo                                                    
>  ~
> emacs23-common: /usr/share/emacs/23.3/lisp/textmodes/makeinfo.elc
> emacs23-el: /usr/share/emacs/23.3/lisp/textmodes/makeinfo.el.gz
> 
> [...]
> 
> if updated regularly apt-file's database will contain every files in
> every package in debian.
> 

Nice - thanks! 

Nick

Reply via email to