Re: [gentoo-user] Recompile Gentoo Environemnet

2009-09-05 Thread Alan McKinnon
On Saturday 05 September 2009 03:29:46 Nick Khamis wrote:
 Hello Everyone,
 
 what emerge parameters recompiles everything in my gentoo environment afer
 changing use flags
 
 emerge --update --deep --*newuse* world?
 
 I issued a
 
 emerge -e world
 
 
 and I saw it was installing 450 things so I ctrl+c the process, did I
 kill everything.
 
 Anyhow I would like to recompile everything existing in the
 environment in the safest manner.


You almost always want

emerge -avuND world

Which will find every relevant change you made and deal with it.

Don't forget 

emerge -av @preserved-rebuild with recent portage versions
revdep-rebuild -p -i followed by 
revdep-rebuild to find broken stuff and finally
emerge -a --depclean to clean out obsolete stuff that's hanging around

Don't run these blindly. Eyeball the output, understand what you are looking 
at.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Recompile Gentoo Environemnet

2009-09-04 Thread Dale
Nick Khamis wrote:
 Hello Everyone,

 what emerge parameters recompiles everything in my gentoo environment
 afer changing use flags

 emerge --update --deep --/newuse/ world?

 I issued a
 emerge -e world


 and I saw it was installing 450 things so I ctrl+c the process, did I kill 
 everything.

 Anyhow I would like to recompile everything existing in the environment in 
 the safest manner.



 Thanks in Advanced,
 Ninus.
   

If you just changed the USE flags then yes, a emerge -DN world should
work.   The -N is the key part there.  I like to add in the -D just to
make sure the packes those use are recompiled if needed as well. 
Usually I run emerge -uvDN world which will also catch any upgrades as
well. 

ctrl=c should kill the entire process. 

Dale

:-)  :-) 



Re: [gentoo-user] Recompile Gentoo Environemnet

2009-09-04 Thread Dale
Allan Gottlieb wrote:
 At Sat, 05 Sep 2009 01:29:46 + Nick Khamis sym...@gmail.com wrote:

   
 Hello Everyone,

 what emerge parameters recompiles everything in my gentoo environment afer
 changing use flags

 emerge --update --deep --*newuse* world?
 

 I personally use

 emerge --newuse --update --with-bdeps=y --ask --deep --tree --verbose world

 The with-bdeps makes sure that my subsequent
 emerge --depclean --ask
 runs cleanly.

 --tree --verbose gives a (overly?) detailed output that I like.

 allan


   

Glad you mentioned the --with-bdeps=y because I have that in my
make.conf file.  Saves me some typing.  That options is good to include
as well.

Dale

:-)  :-) 



Re: [gentoo-user] Recompile Gentoo Environemnet

2009-09-04 Thread Allan Gottlieb
At Sat, 05 Sep 2009 01:29:46 + Nick Khamis sym...@gmail.com wrote:

 Hello Everyone,

 what emerge parameters recompiles everything in my gentoo environment afer
 changing use flags

 emerge --update --deep --*newuse* world?

I personally use

emerge --newuse --update --with-bdeps=y --ask --deep --tree --verbose world

The with-bdeps makes sure that my subsequent
emerge --depclean --ask
runs cleanly.

--tree --verbose gives a (overly?) detailed output that I like.

allan