> > 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

Reply via email to