[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Generic file finder question ..what tool or database



Simon Hepburn <sth@blueyonder.co.uk> writes:

> On Tuesday 05 Mar 2002 7:25 am, Harry Putnam wrote:
>> If I have the name of a file like xpm.h and want to know what package
>> contains it.  And I find that `apt-cache search xpm.h' doesn't know
>> about it.
>
> apt-cache search only checks package names and descriptions
>
>> And dpkg -S xpm.h doesn't either
>
> It does if you have the relevant package installed

I'm not talking about installed packages

> #dpkg -S xpm.h
> #xlibs-dev: /usr/X11R6/include/X11/xpm.h
>
> Otherwise try here:
>
> http://www.debian.org/distrib/packages#search_contents

Thanks .. thats the baby.

What about listing packages in cache that are not installed
Browsing over man apt-get apt-cache dbkg I didn't notice a command
that lists all the packages onboard  that are not installed.



Reply to: