Re: Aptitude Advanced Searching
On Wed, Apr 11, 2007 at 11:39:03PM -0400, Michael Pobega wrote:
> I've been reading the documentation on Aptitude available in
> /usr/share/doc/aptitude/README, trying to figure out how to search based
> on multiple terms but I just can't get it quite right.
>
> As a test I've been trying to search for a non-official package,
> installed (Not using "~i" though), with a description of "compression".
>
> Using the command:
>
> aptitude search "!~Odebian" "!~g" "!~v" "~dcompression"
>
> Should work, but it seems to omit each of the options as ONE search
> string and searches them all separately. Is there any way to get all of
> these terms working with each other, instead of individually?
>
Just run them all together without the intervening " and spaces.
> Also, how do I search for descriptions with multiple words? "~dsuper
> nintendo" doesn't seem to work, and neither does "~dsuper" "~dnintendo".
>
Try ~dsuper~dnintendo
Doug.
Reply to: