Alan McKinnon <[EMAIL PROTECTED]> writes:

>> All kde all gnome all xorg for example, before update world.
>
> It seems fine in theory, but every time I've done it in real life I get 
> into deep dependency trees that take more time to sort out than simply 
> emerging world first.
>
> The trouble seems to be that it's easy to spot the high level packages 
> that bring in all their DEPENDS - things like kde,gnome,xorg-x11. It's 
> harder to spot the dependencies that want to bring everything back in 
> again. kde is easy - the string 'kde' shows up in most of the names. 
> gnome is harder as the names are much more randomly chosen.

It is turning into a hefty time sink but I doubt it would take less
time to grind out update world.  And in this case I want to get rid of
all x related stuff for good.

I've found (just now) that using revdep-rebuild --pretend and then
going thru the list and emerge -vC parent packages or in some cases
emerge -v them will eventually get you a pretty clean start for build
world.

But in my case it was made a very lot easier by knowing in advance I
wanted no media related gnome, kde, xorg type stuff.

It meant I could run stuff like:

 for ii in $(eix -Ic |grep x11-|awk '/^\[/{print $2}' |sort)
 do 
   emerge  -avC $ii; done
 done

Insert media-app, plugin, kde, gnome in the grep part and walk thru
using `ask' in case something needs to be left alone.

Then following up with several runs at revdep-rebuild as cited above.

That has taken a while.. several hours... but wouldn't such big update
world have taken at least a day?

-- 
[email protected] mailing list

Reply via email to