public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] What to expect from emerge --newuse --emptytree world re: etc-update
@ 2005-09-28  2:39 Dave Nebinger
  2005-09-28  3:01 ` Hemmann, Volker Armin
  2005-09-28  3:11 ` Willie Wong
  0 siblings, 2 replies; 4+ messages in thread
From: Dave Nebinger @ 2005-09-28  2:39 UTC (permalink / raw
  To: gentoo-user


I'm getting ready to dive into the apache2 install on my server.
In preparation for this I needed things I wasn't using before like
IMAP (see thread on web mail systems), MySQL, and ldap.

Being the good little gentoo boy I updated my USE flags to include
these and other settings that I plan to use but didn't have in before.

And since my USE flags changed, I'm in the middle of doing the
"emerge --newuse --emptytree world" (it's actually going quite well;
out of 417 packages, only scotty failed due to some sandbox violations
that I'm not worried about right now).

I've got about 10 hours left on the recompiles (estimated), so tomorrow
morning the next step will be to handle any /etc updates.

But that's got me wondering - am I going to be looking at hundreds
of /etc updates?

If I am, I'm certain I don't need them as my existing configs are
all working fine.

So if I am looking at hundreds of /etc updates that I don't really
want to have to wade through, what would be the easiest way to purge
them all?

Thanks in advance,

Dave

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] What to expect from emerge --newuse --emptytree world re: etc-update
  2005-09-28  2:39 [gentoo-user] What to expect from emerge --newuse --emptytree world re: etc-update Dave Nebinger
@ 2005-09-28  3:01 ` Hemmann, Volker Armin
  2005-09-28  3:11 ` Willie Wong
  1 sibling, 0 replies; 4+ messages in thread
From: Hemmann, Volker Armin @ 2005-09-28  3:01 UTC (permalink / raw
  To: gentoo-user

On Wednesday 28 September 2005 04:39, Dave Nebinger wrote:
> I'm getting ready to dive into the apache2 install on my server.
> In preparation for this I needed things I wasn't using before like
> IMAP (see thread on web mail systems), MySQL, and ldap.
>
> Being the good little gentoo boy I updated my USE flags to include
> these and other settings that I plan to use but didn't have in before.
>
> And since my USE flags changed, I'm in the middle of doing the
> "emerge --newuse --emptytree world" (it's actually going quite well;
> out of 417 packages, only scotty failed due to some sandbox violations
> that I'm not worried about right now).
>

why the emptyworld?
when you change flags, --newuse world is enough.

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] What to expect from emerge --newuse --emptytree world re: etc-update
  2005-09-28  2:39 [gentoo-user] What to expect from emerge --newuse --emptytree world re: etc-update Dave Nebinger
  2005-09-28  3:01 ` Hemmann, Volker Armin
@ 2005-09-28  3:11 ` Willie Wong
  2005-09-28 11:06   ` Dave Nebinger
  1 sibling, 1 reply; 4+ messages in thread
From: Willie Wong @ 2005-09-28  3:11 UTC (permalink / raw
  To: gentoo-user

On Tue, Sep 27, 2005 at 10:39:42PM -0400, Dave Nebinger wrote:
> 
> I'm getting ready to dive into the apache2 install on my server.
> In preparation for this I needed things I wasn't using before like
> IMAP (see thread on web mail systems), MySQL, and ldap.
> 
> Being the good little gentoo boy I updated my USE flags to include
> these and other settings that I plan to use but didn't have in before.
> 
> And since my USE flags changed, I'm in the middle of doing the
> "emerge --newuse --emptytree world" (it's actually going quite well;

hum, that seems like a bit of overkill. wouldn't emerge --newuse world
have sufficed? If you only added imap, mysql, and ldap, there should
only be fewer than 150 packages out of 417 that needs to be
recompiled. 

> out of 417 packages, only scotty failed due to some sandbox violations
> that I'm not worried about right now).
> 
> I've got about 10 hours left on the recompiles (estimated), so tomorrow
> morning the next step will be to handle any /etc updates.
> 
> But that's got me wondering - am I going to be looking at hundreds
> of /etc updates?

something like that, yes. 

BUT, if you are like me and do not modify most of the configuration
files, LOTS of those files in /etc will get handled automatically by
etc-update... you only need worry about those files you have changed
from the defaults. 

> 
> If I am, I'm certain I don't need them as my existing configs are
> all working fine.
> 
> So if I am looking at hundreds of /etc updates that I don't really
> want to have to wade through, what would be the easiest way to purge
> them all?

My "find" syntax is a bit rusty, but I think running the following as
root might do it: (you can sub -f for -i if you are real adventurous)

find /etc -name "._cfg00*" -exec /bin/rm -i {};

W
> 

-- 
...many other things are also often quantized. It really should be called 
h-bar mechanics, not Quantum Mechanics.
       ~Prof. Kirk T. McDonald, DeathEM, P-town PHY 304
Sortir en Pantoufles: up 47 days,  6:04
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] What to expect from emerge --newuse --emptytree world re: etc-update
  2005-09-28  3:11 ` Willie Wong
@ 2005-09-28 11:06   ` Dave Nebinger
  0 siblings, 0 replies; 4+ messages in thread
From: Dave Nebinger @ 2005-09-28 11:06 UTC (permalink / raw
  To: gentoo-user

> > I'm getting ready to dive into the apache2 install on my server.
> > In preparation for this I needed things I wasn't using before like
> > IMAP (see thread on web mail systems), MySQL, and ldap.
> > 
> > Being the good little gentoo boy I updated my USE flags to include
> > these and other settings that I plan to use but didn't have in before.
> > 
> > And since my USE flags changed, I'm in the middle of doing the
> > "emerge --newuse --emptytree world" (it's actually going quite well;
> 
> hum, that seems like a bit of overkill. wouldn't emerge --newuse world
> have sufficed? If you only added imap, mysql, and ldap, there should
> only be fewer than 150 packages out of 417 that needs to be
> recompiled. 
 
Well there were actually quite more use flags than that.  To prep for
apache I added the jpeg, png, xml & xst, php and a bunch of other
related flags.  Some of them are probably overkill, but it seemed to be
a significant enough change to the USE flags that I thought may touch on
more of the installed components than such a short list.

The --emptytree as well might be overkill, don't know for sure.  I
thought it would be the safer option to ensure that dependencies, etc.,
would be covered.  Either way it is too late now as the recompiling is
almost finished.

> > out of 417 packages, only scotty failed due to some sandbox violations
> > that I'm not worried about right now).
> > 
> > But that's got me wondering - am I going to be looking at hundreds
> > of /etc updates?
> 
> something like that, yes. 
> 
> BUT, if you are like me and do not modify most of the configuration
> files, LOTS of those files in /etc will get handled automatically by
> etc-update... you only need worry about those files you have changed
> from the defaults. 

I tend to get into many of the configuration files for one reason or
another adding or removing options that are specific for my site (and I
guess I'm a control freak ;-)

So on the majority I would be looking at many updates.

> > So if I am looking at hundreds of /etc updates that I don't really
> > want to have to wade through, what would be the easiest way to purge
> > them all?
> 
> My "find" syntax is a bit rusty, but I think running the following as
> root might do it: (you can sub -f for -i if you are real adventurous)
> 
> find /etc -name "._cfg00*" -exec /bin/rm -i {};

That's the route I'm probably going to take.  Thanks Willie!

-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2005-09-28 11:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-28  2:39 [gentoo-user] What to expect from emerge --newuse --emptytree world re: etc-update Dave Nebinger
2005-09-28  3:01 ` Hemmann, Volker Armin
2005-09-28  3:11 ` Willie Wong
2005-09-28 11:06   ` Dave Nebinger

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