[gentoo-user] Stop and continue emerge -e world
Hello everybody! I'm currently running emerge -e world because of gcc upgrade. I would appreciate if I can stop this emerge and continue tomorrow from where it was stopped. I have two questions: 1) Is there any possibility to stop and later continue (after reboot) emerge -e world without compiling every package again? 2) If I do this, will be the system usable after reboot? (some of packages compiled with gcc-3.3.6 and other with gcc-3.4.5) Thank you, Petr -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Stop and continue emerge -e world
Dne úterý 14 březen 2006 23:39 Petr Uzel napsal(a): > Hello everybody! > I'm currently running emerge -e world because of gcc upgrade. I would > appreciate if I can stop this emerge and continue tomorrow from where it > was stopped. > > I have two questions: > > 1) Is there any possibility to stop and later continue (after reboot) > emerge -e world without compiling every package again? OK, I can answer this myself (I hope correctly) : "pick your emerge" script or emerge --resume. I should better RTFM. > 2) If I do this, will be the system usable after reboot? (some of packages > compiled with gcc-3.3.6 and other with gcc-3.4.5) With this I still need your help... :) > Thank you, Petr -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Stop and continue emerge -e world
On Tue, 2006-03-14 at 23:53 +0100, Petr Uzel wrote: > Dne úterý 14 březen 2006 23:39 Petr Uzel napsal(a): > > Hello everybody! > > I'm currently running emerge -e world because of gcc upgrade. I would > > appreciate if I can stop this emerge and continue tomorrow from where it > > was stopped. > > > > I have two questions: > > > > 1) Is there any possibility to stop and later continue (after reboot) > > emerge -e world without compiling every package again? > > OK, I can answer this myself (I hope correctly) : "pick your emerge" script > or > emerge --resume. I should better RTFM. > > > 2) If I do this, will be the system usable after reboot? (some of packages > > compiled with gcc-3.3.6 and other with gcc-3.4.5) > > With this I still need your help... :) > wouldnt say it is possible, unless u have hibernaton enabled, which probably is not in your case. besides emerge --resume only resumes not downloaded fully files from internet to be downloaded... > > Thank you, Petr > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Stop and continue emerge -e world
On Tue, 14 Mar 2006 23:09:29 +, Unknown wrote: > > > 2) If I do this, will be the system usable after reboot? (some of > > > packages compiled with gcc-3.3.6 and other with gcc-3.4.5) > > > > With this I still need your help... :) > > > wouldnt say it is possible, unless u have hibernaton enabled, which > probably is not in your case. besides emerge --resume only resumes not > downloaded fully files from internet to be downloaded... Not so. emerge --resume restarts the previous emerge process, even after a reboot, exactly as Petr needs. I doubt the fact that some packages are compiled with one GCC and others with a different one is going to cause a problem, especially as you'll carry on with the recompiling after the reboot. Even if you don't reboot, your system will be running with a mixture of 3.3/3.4-compiled packages during the emerge. -- Neil Bothwick When puns are outlawed only outlaws will have puns. signature.asc Description: PGP signature
Re: [gentoo-user] Stop and continue emerge -e world
> > wouldnt say it is possible, unless u have hibernaton enabled, which > > probably is not in your case. besides emerge --resume only resumes not > > downloaded fully files from internet to be downloaded... > > Not so. emerge --resume restarts the previous emerge process, even after > a reboot, exactly as Petr needs. > > I doubt the fact that some packages are compiled with one GCC and others > with a different one is going to cause a problem, especially as you'll > carry on with the recompiling after the reboot. Even if you don't reboot, > your system will be running with a mixture of 3.3/3.4-compiled packages > during the emerge. Ok, I'll give it a try. Thank you for quick answers. Petr -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Stop and continue emerge -e world
On Tue, 14 Mar 2006 23:53:26 +0100 Petr Uzel <[EMAIL PROTECTED]> wrote: > 2) If I do this, will be the system usable after reboot? (some of > packages compiled with gcc-3.3.6 and other with gcc-3.4.5) That should not be a problem. Before I switched to Gentoo I used Ubuntu. Ubuntu compiled the kernel with a different version of gcc than what most of the other programs were compiled with. Jim -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Stop and continue emerge -e world
On 2006-03-14 23:39, Petr Uzel uttered these thoughts: > Hello everybody! > I'm currently running emerge -e world because of gcc upgrade. I would > appreciate if I can stop this emerge and continue tomorrow from where it was > stopped. > > I have two questions: > > 1) Is there any possibility to stop and later continue (after reboot) emerge > -e world without compiling every package again? > > 2) If I do this, will be the system usable after reboot? (some of packages > compiled with gcc-3.3.6 and other with gcc-3.4.5) Actually, the faster way would be to use revdep-rebuild instead of emerge -e world (isn't this mensioned in the upgrade guide for gcc?). If you still have gcc-3.3.6 installed on your system, you won't have a problem from rebooting (as far as I know). Regards, Patrick Börjesson -- / () The ASCII Ribbon Campaign - against HTML Email \ /\ and proprietary formats. pgplqB4K6fc7W.pgp Description: PGP signature
Re: [gentoo-user] Stop and continue emerge -e world
> Not so. emerge --resume restarts the previous emerge process, even after > a reboot, exactly as Petr needs. Just a note when you issue an emerge --resume, if you stopped the emerge in the middle of a compile it will not pick up in the middle it will start compiling that package from the beginning again. > I doubt the fact that some packages are compiled with one GCC and others > with a different one is going to cause a problem, especially as you'll > carry on with the recompiling after the reboot. Even if you don't reboot, > your system will be running with a mixture of 3.3/3.4-compiled packages > during the emerge. > I have a slower computer (celeron 800 mhz) and a family that doesnt like to leave the computer on all the time so when I ran my gcc upgrade it took close to a week and I didnt encounter any problems during this time with a system that was only partially recompiled with GCC 3.4. A.J. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Stop and continue emerge -e world
On Wed, 2006-03-15 at 00:32 +0100, Petr Uzel wrote: > > > wouldnt say it is possible, unless u have hibernaton enabled, which > > > probably is not in your case. besides emerge --resume only resumes not > > > downloaded fully files from internet to be downloaded... > > > > Not so. emerge --resume restarts the previous emerge process, even after > > a reboot, exactly as Petr needs. what i meant is that it will have to recompile allover again(it might use some cahching mechanizm as well?) if he has turned "emerge" process off and in case if file wasnt downloaded fully it(emerge) will resume file downloading > > > > I doubt the fact that some packages are compiled with one GCC and others > > with a different one is going to cause a problem, especially as you'll > > carry on with the recompiling after the reboot. Even if you don't reboot, > > your system will be running with a mixture of 3.3/3.4-compiled packages > > during the emerge. > > Ok, I'll give it a try. Thank you for quick answers. > > Petr -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Stop and continue emerge -e world
> Actually, the faster way would be to use revdep-rebuild instead of > emerge -e world (isn't this mensioned in the upgrade guide for gcc?). Yes, it is. But in addition to upgrade of gcc I have changed CFLAGS form O2 to O3 so I wanted to recompile the whole system. Petr -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Stop and continue emerge -e world
On Tue, 14 Mar 2006 23:48:46 +, Unknown wrote: > > > Not so. emerge --resume restarts the previous emerge process, even > > > after a reboot, exactly as Petr needs. > what i meant is that it will have to recompile allover again No it won't, it will start again with the package it was working on when the emerge was interrupted. -- Neil Bothwick I like you. You remind me of when I was young and stupid. signature.asc Description: PGP signature
Re: [gentoo-user] Stop and continue emerge -e world
On Wed, 2006-03-15 at 08:56 +, Neil Bothwick wrote: > On Tue, 14 Mar 2006 23:48:46 +, Unknown wrote: > > > > > Not so. emerge --resume restarts the previous emerge process, even > > > > after a reboot, exactly as Petr needs. > > > what i meant is that it will have to recompile allover again > > No it won't, it will start again with the package it was working on when > the emerge was interrupted. > I've found that in situations like this, it's useful to have FEATURES="keepwork" in /etc/make.conf, provided that you remember to delete the contents of /var/tmp/portage every now and then... -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Stop and continue emerge -e world
On Wed, 2006-03-15 at 08:10 -0600, Michael Sullivan wrote: > I've found that in situations like this, it's useful to have > FEATURES="keepwork" in /etc/make.conf, provided that you remember to > delete the contents of /var/tmp/portage every now and then... Is it possible somehow to use a feature like "keepwork" that deltes /var/tmp/portage after a successful emerge, but not after an interrupt? (Which is how I assume it works now?) thanks, -- Iain Buchanan A countryman between two lawyers is like a fish between two cats. -- Ben Franklin -- gentoo-user@gentoo.org mailing list