public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Recompile Gentoo Environemnet
@ 2009-09-05  1:29 Nick Khamis
  2009-09-05  2:07 ` Dale
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Nick Khamis @ 2009-09-05  1:29 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 395 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 609 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Recompile Gentoo Environemnet
  2009-09-05  1:29 [gentoo-user] Recompile Gentoo Environemnet Nick Khamis
@ 2009-09-05  2:07 ` Dale
  2009-09-05  2:08 ` Allan Gottlieb
  2009-09-05 10:55 ` Alan McKinnon
  2 siblings, 0 replies; 5+ messages in thread
From: Dale @ 2009-09-05  2:07 UTC (permalink / raw
  To: gentoo-user

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

:-)  :-) 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Recompile Gentoo Environemnet
  2009-09-05  1:29 [gentoo-user] Recompile Gentoo Environemnet Nick Khamis
  2009-09-05  2:07 ` Dale
@ 2009-09-05  2:08 ` Allan Gottlieb
  2009-09-05  2:26   ` Dale
  2009-09-05 10:55 ` Alan McKinnon
  2 siblings, 1 reply; 5+ messages in thread
From: Allan Gottlieb @ 2009-09-05  2:08 UTC (permalink / raw
  To: gentoo-user

At Sat, 05 Sep 2009 01:29:46 +0000 Nick Khamis <symack@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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Recompile Gentoo Environemnet
  2009-09-05  2:08 ` Allan Gottlieb
@ 2009-09-05  2:26   ` Dale
  0 siblings, 0 replies; 5+ messages in thread
From: Dale @ 2009-09-05  2:26 UTC (permalink / raw
  To: gentoo-user

Allan Gottlieb wrote:
> At Sat, 05 Sep 2009 01:29:46 +0000 Nick Khamis <symack@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

:-)  :-) 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Recompile Gentoo Environemnet
  2009-09-05  1:29 [gentoo-user] Recompile Gentoo Environemnet Nick Khamis
  2009-09-05  2:07 ` Dale
  2009-09-05  2:08 ` Allan Gottlieb
@ 2009-09-05 10:55 ` Alan McKinnon
  2 siblings, 0 replies; 5+ messages in thread
From: Alan McKinnon @ 2009-09-05 10:55 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-09-05 10:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-05  1:29 [gentoo-user] Recompile Gentoo Environemnet Nick Khamis
2009-09-05  2:07 ` Dale
2009-09-05  2:08 ` Allan Gottlieb
2009-09-05  2:26   ` Dale
2009-09-05 10:55 ` Alan McKinnon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox