Renat Golubchyk wrote:
> On Wed, 06 Apr 2005 07:40:05 +0100 Russ Brown <[EMAIL PROTECTED]>
> wrote:
> 
>>Ash Varma wrote:
>>
>>>So try:
>>>
>>>$ equery uses <package_name>
>>>
>>>eg.
>>>
>>
>>I keep saying this but nobody seems to listen. 'equery uses' only
>>works for packages that you already have installed, which makes it far
>>less useful than 'etcat uses' was, which worked with packages you
>>haven't installed yet.
> 
> 
> You are wrong here. Example:
> 
> $ equery uses
> Display USE flags for a given package
> 
> Syntax:
>   uses <local-opts> pkgspec
> <local-opts> is either of: 
>   -a, --all     - include non-installed packages
> 

Excellent, good spot: especially considering that the option isn't
mentioned anywhere in the man page... I also tried 'equery --help' but
nothing there either. It hadn't occurred to me to just try running the
command with no package argument.

Thanks for that.

On a related issue, etcat has the very useful 'versions' command which
lists all versions of the package in portage along with their
masked/installed status. I can't find an equivalent in equery, but I'm
now starting to wonder if it is there but undocumented. Any ideas? If I
can find something to do that I can stop using etcat completely. :-)

Thanks.

-- 

Russ.
--
gentoo-user@gentoo.org mailing list

Reply via email to