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

Re: (solved on my own) Re: how to use dpkg to list some packages



On Tue, May 08, 2007 at 06:02:41AM -0700, Serena Cantor wrote:
> aptitude search \!~i~sdoc only lists 4 packages.
> 
> surely main of sarge has far more than that.
> 
> I've got many replies, none solved my question. Thanks anyway.
> 
> I'm java programmer, I'd rather write a program to parse a file in
> /var/lib/apt/lists
> to list desired packages.

then do so.

or try this

apt-cache search --names-only doc

A

> 
> 
> --- Maik Beckmann <maikbeckmann@gmx.de> wrote:
> 
> > Am Dienstag, 8. Mai 2007 13:24:37 schrieb Jörg-Volker Peetz:
> > > Serena Cantor wrote:
> > > > I use sarge, your command does not work.
> > >
> > > Sorry, that's my typo. It must be
> > >   aptitude search !~i~sdoc
> > > --
> > 
> > this results in:  
> >     $ aptitude search !~i~sdoc
> >     bash: !~i~sdoc: event not found
> > but 
> >     $ aptitude search \!~i~sdoc
> > works.
> > 
> > MfG Maik
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

Attachment: signature.asc
Description: Digital signature


Reply to: