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 depending upon installed package and without any parameters displays hundreds of things. I am looking for the total number of packages in the category 'system' as given at the end of 'emerge depclean -p' :-


Packages installed:   384
Packages in world:    299
Packages in system:   68  <<------  Note this line
Unique package names: 380
Required packages:    395
Number to remove:     4

I can't use this 'emerge depclean -p' command however in my script since it takes too much time.


-- [EMAIL PROTECTED] mailing list



Reply via email to