On Tue, 2 Dec 2003 22:49:43 -0800
Paul Johnson <[EMAIL PROTECTED]> wrote:

PJ> -----BEGIN PGP SIGNED MESSAGE-----
PJ> Hash: SHA1
PJ> 
PJ> Please turn your line wraps on to 72 columns.
PJ> On Tue, Dec 02, 2003 at 02:02:35AM +0000, Chema wrote:
PJ> > Now that packages.debian.org is down, I have found myself looking
PJ> > for "which deb provides such file/library" a pair of times. 
PJ> > Having resolved the situation in unusual froms, I'm starting to
PJ> > miss packages.deb.
PJ> 
PJ> Consider this as a checklist for future reference...
PJ> http://www.catb.org/~esr/faqs/smart-questions.html
PJ> 
PJ> I can't believe this question could be missed in the archives.
PJ> 
PJ> apt-cache search <keyword>

apt-cache only searchs in package name and description (from 
/var/cache/apt/pkgcache.bin, I think), so it will not tell me 
"which deb provides such file/library".

The right answer was apt-file, as pointed by Andreas Janssen:

polidora:/home/chema# apt-cache search libIDL-config
polidora:/home/chema# apt-file search libIDL-config
libidl-dev: usr/bin/libIDL-config-2
libidl-dev: usr/share/man/man1/libIDL-config-2.1.gz
liborbit-dev: usr/bin/libIDL-config
liborbit-dev: usr/share/man/man1/libIDL-config.1.gz


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to