On Wed, Sep 14, 2011 at 5:16 PM, Dale <rdalek1...@gmail.com> wrote: > Mark Knecht wrote: >> >> On Wed, Sep 14, 2011 at 4:46 PM, Neil Bothwick<n...@digimed.co.uk> wrote: >>> >>> On Wed, 14 Sep 2011 15:37:15 -0700, Mark Knecht wrote: >>> >>>> 3) Do the rest of the work >>>> >>>> emerge -fDuN @world >>>> emerge -pvDuN @world >>>> >>>> Fix USE flag issues, if any >>>> >>>> 4) Do the build >>>> >>>> emerge -DuN -j13 @world >>> >>> There's not point in doing the fetch first, portage has done parallel >>> fetching for some time - it's faster to let the distfiles download while >>> the first package is compiling. >>> >>> emerge -auDN @world covers all of that - except the -j which is >>> system-dependent. >>> >>> >>> -- >>> Neil Bothwick >> >> Quite true about the parallel fetch, but I still do this anyway >> because I want to know all the code is local before I start. With 12 >> processor cores I often build the first file before the second has >> been downloaded. Also I don't want to start a big build, say 50-70 >> updates, and then find out an hour later when I come back that some >> portage mirror choked on finding a specific file and the whole thing >> died 10 minutes in. This way I have a better chance of getting to the >> end in one pass. >> >> Anyway, it works well for this old dog, and in my mind there is a good >> reason to fetch before building but I can see how others might not >> want to do that. >> >> - Mark >> >> > > tail -f /var/log/emerge-fetch.log > > That way you can be compiling and watching the fetching process at the same > time. If something fails, it'll be printer there. I use it all the time > here. I only have 4 cores here tho. :-P > > Dale
Nahh, you miss my point. I don't want my attention to be anywhere near the machine except for the 1 minute it takes to run the fetch, and then assuming that worked, for the 1 minute it takes to start the build. I then come back an hour or two later, make sure everything got done and I spent no time of my own fixated on a Gentoo box. Most of these machines get updated during the day when family is away, but I'm busy working here at home and don't want to pay much attention just to get updates done. I know others are way more involved with every little thing happening on their machines but I'm not. I run stable with a few ~amd64 packages. I just want to box to get updated and work without a lot of my time involved. I've done my wife's machine, my father's machine and my mother's machine this way for years and it doesn't take much effort. (It just works... (@tm) On my own 3 Gentoo machines I am a little more involved, but typically I'm working on them while updating so that's not such a bog deal. My attention is there. That said, maybe someone who hasn't touched the machine for 5 months shouldn't try to do a (mostly) unattended update... ;-) - Mark