Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Looking for advice on the best way to rebuild a gentoo box
- Date: Wed, 1 Nov 2006 17:37:57 +0900
- From: Al Hoang <hoanga@example.com>
- Subject: Re: [tlug] Looking for advice on the best way to rebuild a gentoo box
- References: <op.tibu97eo4j0um6@example.com>
- User-agent: Mutt/1.5.12-2006-07-14
On Wed, Nov 01, 2006 at 05:02:21PM +0900, Zev Blut wrote: [snip] > USE changes and such for at least over a year and a half. I would > like to reduce down time as much as possible, so before I decide to > rebuild from scratch I would like to know if any of you have some good > strategies for rebuilding your system. > > I am tempted to try doing a : > > emerge -Duave world > [snip] I'm not a Gentoo expert by any means although *cough* I presume there are some folks on TLUG who are. But you might want to keep these factors in the quest to answer 'upgrade' or 'reinstall' 1. What (green/blue/brown)black belt level of Distro-fu are you at? 2. How much do you value your current system state as is? 3. How much do you want to get rid of old cruft? 4. How many new things that came down the pipeline look like they'll stomp on what you have now? If 2 is pretty big on your concern list and 1 is not a problem, it's probably more tempting to hit 'emerge world'. If 3 & 4 are concerns perhaps a reinstall with an overlay of what you have for your current system will be more appropriate As a rough barometer of how to calculate the time it will take to do operation 'get my box current'. I'd make a guess that the time you'll spend can be factored into 1. emerge world option will cost something like Npu + Db where: Npu = # of packages needing upgrade. Np is affected by how many packages you've kept back from doing the upgrade slide over time. Db = Debug time for any packages that have experienced a transition change that require some sort of change from the admin. Db tends to be a big fuzzy factor that I should probably break down a bit more. Db is affected by the amount of time + effort + avoid frying pan factors in working with the portage system AND its innards. 2. Reinstall option cost is something like: Bt + Dl + In + Npi Bt = Time to backup all your relevant data to use as a template for a reinstall. Dl = Time to download the new Gentoo distro (Maybe you already have the disc so this becomes zero) In = Install time for distro. Since you're an experienced Gentoo user, I imagine more time will be waiting for the the tarball to extract Npi = # of packages needing install. You'll need to factor in download times as well as compile. However this can be slightly mitigated by saving your old tarballs and trying to recycle as much as you can. Mct = Migration configuration time. All the time to overlay your old configs onto the new config tree. This is a bit tedious but like with the other factors, you have a running system to use as a template for what to fill in. If it was me, I'd catalog all the stuff I installed, backup /etc, /home, /usr/portage and anything in /usr/local/portage then reinstall from scratch since the number of system affecting changes in your case seem a large enough delta that it'd be better to try to install a new system and figure out which settings you had can be merged back in properly. I'm sure other folks will have different opinions on this. Another reason being that, my experience is that many distros spend incredible amounts of effort making sure INSTALLS go very well however upgrades are a very hard problem to get right since upgrades usually tend to be on a customized configuration to the point each machine is a little bit unique so the possibility of hitting an unforeseen snag is high without huge amounts of integration testing or just installing very plain and boring packages. On a side note, as nice as Gentoo's source package management system is, when I was bitten by the /etc/shadow, pam issue that I posted on TLUG a few months ago, my faith in Gentoo's upgrade process was a bit shaken. I guess that's what happens when you get spoiled using FreeBSD for a few years ;) Alain
- Follow-Ups:
- References:
Home | Main Index | Thread Index
- Prev by Date: [tlug] Looking for advice on the best way to rebuild a gentoo box
- Next by Date: Re: [tlug] Becoming Windows Free: Linux Lazer Printers
- Previous by thread: [tlug] Looking for advice on the best way to rebuild a gentoo box
- Next by thread: Re: [tlug] Looking for advice on the best way to rebuild a gentoo box
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links