Joshua Banks wrote:
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
That doesn't make sense. qpkg -q gives packages
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This gives 402 packages. Surely that can't be right for number of
packages in the category 'system'.
i don't know what file it is in but you can do
emerge -pve --nodeps system | grep ebuild | wc -l
which gives 68 for me
- --
Vriendelijke
keanu wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This gives 402 packages. Surely that can't be right for number of
packages in the category 'system'.
i don't know what file it is in but you can do
emerge -pve --nodeps system | grep ebuild | wc -l
which gives 68 for me
Thanks. I
On Tue, 2003-09-09 at 07:44, Dhruba Bandopadhyay wrote:
snip
Thanks. I simplified that to:
emerge -Oevp system | grep -c ebuild
It seems it cannot be done any faster e.g. from a file.
Take a look at /etc/make.profile/packages . From the intro
documentation:
# An initial * marks a package
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
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