[SLUG] Re: apt-file

2007-01-02 Thread Erik de Castro Lopo
Steve Lindsay wrote:

 On 1/3/07, Robert Collins [EMAIL PROTECTED] wrote:
 
  You can also use 'dpkg -S fglrx_dri.so'
 
 
 'apt-file' lets you search through packages you haven't installed yet
 (but are in the relevant apt repositories). I think dpkg -S is only
 for installed packages?

Hmm, I can't get apt-file to work at all:

[EMAIL PROTECTED]  apt-file search libsndfile.so

[EMAIL PROTECTED]  dpkg -S libsndfile.so
libsndfile1: /usr/lib/libsndfile.so.1
libsndfile1-dev: /usr/lib/libsndfile.so
libsndfile1: /usr/lib/libsndfile.so.1.0.12

[EMAIL PROTECTED]  apt-file search libsndfile.so.1.0.12

[EMAIL PROTECTED]  dpkg -S libsndfile.so.1.0.12
libsndfile1: /usr/lib/libsndfile.so.1.0.12

Erik
-- 
+---+
  Erik de Castro Lopo
+---+
I want to make sure (a user) can't get through ... an online
experience without hitting a Microsoft ad.
 - Microsoft CEO, Steve Ballmer on the Microsoft search engine.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Re: apt-file

2007-01-02 Thread Steve Lindsay

On 1/3/07, Erik de Castro Lopo [EMAIL PROTECTED] wrote:


Hmm, I can't get apt-file to work at all:



Sorry, I replied in the other thread. You need to run apt-file update.
It needs to build up an index of the files in the packages before it
works properly.

Cheers.Steve
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Re: apt-file

2007-01-02 Thread Erik de Castro Lopo
Steve Lindsay wrote:

 Sorry, I replied in the other thread. You need to run apt-file update.
 It needs to build up an index of the files in the packages before it
 works properly.

Yeah, just saw that. After and apt-file update I can do this:

[EMAIL PROTECTED]  dpkg -S FTGlyphContainer.h
dpkg: *FTGlyphContainer.h* not found.

[EMAIL PROTECTED]  apt-file search FTGlyphContainer.h
ftgl-dev: usr/include/FTGL/FTGlyphContainer.h

That is pretty *damn* cool.

Thanks Steve.

Erik
-- 
+---+
  Erik de Castro Lopo
+---+
The National Multiple Sclerosis Society of America recently started an
advertising campaign with the slogan MS: It's not a software company.

Seasoned IT professionals will have no trouble telling the two MS's
apart. One is a debilitating and surprisingly widespread affliction
that renders the sufferer barely able to perform the simplest task.
The other is a disease.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html