On Sat, 2005-06-04 at 13:49 +0000, Alexander Skwar wrote:
> 
> If I check how many packages are currently installed by running
> 
>       ls -1d /var/db/pkg/*/* | wc -l
> 
> I see that there are 1192. But if I count the number of ebuilds 
> returned by
> 
>       emerge -Dep world
> 
> I get only 292. So "emerge -De world" would NOT re-compile everything
> that's on my system.
> 
> How can I recompile everything that's currently installed and avoid
> cluttering my "world" file with unneeded entries?

this doesn't really solve any discrepancies in emerge, or why you get
different results from looking in different places, but a "close your
eyes and push the big red button" approach would be to `emerge
--oneshot` everything output from:

find /var/db/pkg/ -mindepth 2 -maxdepth 2 | sed 's/\/var\/db\/pkg\///'

--oneshot will stop it filling your world file with _everything_!

HTH,
-- 
Iain Buchanan <[EMAIL PROTECTED]>

-- 
[email protected] mailing list

Reply via email to