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

Re: Searching in dselect



On Wed, Oct 21, 1998 at 08:33:36AM +0100, M.C. Vernon wrote:
> On Wed, 21 Oct 1998, A. M. Varon wrote:
> 
> > On Wed, 21 Oct 1998, Chris Leishman wrote:
> > 
> > > I was wondering if there is a way to search for a particular type of
> > > package in dselect (not based on it's name, but on what it does)?
> > > ie. Search the description fields.  This would be really useful when
> > > I'm trying to see if there is a debian package of something (this
> > > time it was something to do haskell with - hugs as it turned out).
> > 
> > That's exactly what I also wanted... the closest thing which can be 
> 
> mount sunsite.doc.ic.ac.uk /mnt
> grep whatever /mnt/public/pub/unix/Linux/debian/dists/hamm/main/Packages |
> less
> 
> This will pick up descriptions as well as package names. (you probably
> should check contrib and non-free as well)
> 

You could just grep /var/lib/dpkg/<wherever_the_package_is> but this is
not what I was looking for.  Sure I know how to do this, but many users
would find this confusing to say the least.

Chris


Reply to: