You can use one of the tools in the Gentootoolkit to query Gentoo for a list of 
packages.

qpkg -q

This will list everything I believe. Not sure if this helps since your referencing a 
difference
between Bash and Python....

JBanks
--- Patrick <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> epm would be usefull in this context 
> 
> emerge search epm
> epm -q -a 
> 
> Patrick
> 
> ----- Original Message ----- 
> From: "Dhruba Bandopadhyay" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, September 08, 2003 2:34 PM
> Subject: [gentoo-user] How many packages in system not world?
> 
> 
> | Hello
> | 
> | How can I count the number of packages in 'system' rather than 'world' 
> | using, say, bash?  Where is this information stored?
> | 
> | I've found where this is determined in emerge using python but I need to 
> | do this in bash.  Much appreciated.
> | 
> | With regards
> | 
> | 
> | --
> | [EMAIL PROTECTED] mailing list
> | 
> | 
> | 
> 
> --
> [EMAIL PROTECTED] mailing list
> 

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--
[EMAIL PROTECTED] mailing list

Reply via email to