* [gentoo-user] Stop and continue emerge -e world
@ 2006-03-14 22:39 Petr Uzel
2006-03-14 22:53 ` Petr Uzel
2006-03-14 23:42 ` Patrick Börjesson
0 siblings, 2 replies; 13+ messages in thread
From: Petr Uzel @ 2006-03-14 22:39 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Stop and continue emerge -e world
2006-03-14 22:39 [gentoo-user] Stop and continue emerge -e world Petr Uzel
@ 2006-03-14 22:53 ` Petr Uzel
2006-03-14 23:09 ` Unknown
2006-03-14 23:36 ` JimD
2006-03-14 23:42 ` Patrick Börjesson
1 sibling, 2 replies; 13+ messages in thread
From: Petr Uzel @ 2006-03-14 22:53 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Stop and continue emerge -e world
2006-03-14 22:53 ` Petr Uzel
@ 2006-03-14 23:09 ` Unknown
2006-03-14 23:18 ` Neil Bothwick
2006-03-14 23:36 ` JimD
1 sibling, 1 reply; 13+ messages in thread
From: Unknown @ 2006-03-14 23:09 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Stop and continue emerge -e world
2006-03-14 23:09 ` Unknown
@ 2006-03-14 23:18 ` Neil Bothwick
2006-03-14 23:32 ` Petr Uzel
2006-03-14 23:44 ` AJ Spagnoletti
0 siblings, 2 replies; 13+ messages in thread
From: Neil Bothwick @ 2006-03-14 23:18 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 959 bytes --]
On Tue, 14 Mar 2006 23:09:29 +0000, 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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Stop and continue emerge -e world
2006-03-14 23:18 ` Neil Bothwick
@ 2006-03-14 23:32 ` Petr Uzel
2006-03-14 23:48 ` Unknown
2006-03-14 23:44 ` AJ Spagnoletti
1 sibling, 1 reply; 13+ messages in thread
From: Petr Uzel @ 2006-03-14 23:32 UTC (permalink / raw
To: gentoo-user
> > 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Stop and continue emerge -e world
2006-03-14 22:53 ` Petr Uzel
2006-03-14 23:09 ` Unknown
@ 2006-03-14 23:36 ` JimD
1 sibling, 0 replies; 13+ messages in thread
From: JimD @ 2006-03-14 23:36 UTC (permalink / raw
To: gentoo-user
On Tue, 14 Mar 2006 23:53:26 +0100
Petr Uzel <petr.uzel@centrum.cz> 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Stop and continue emerge -e world
2006-03-14 22:39 [gentoo-user] Stop and continue emerge -e world Petr Uzel
2006-03-14 22:53 ` Petr Uzel
@ 2006-03-14 23:42 ` Patrick Börjesson
2006-03-15 0:24 ` Petr Uzel
1 sibling, 1 reply; 13+ messages in thread
From: Patrick Börjesson @ 2006-03-14 23:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 931 bytes --]
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.
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Stop and continue emerge -e world
2006-03-14 23:18 ` Neil Bothwick
2006-03-14 23:32 ` Petr Uzel
@ 2006-03-14 23:44 ` AJ Spagnoletti
1 sibling, 0 replies; 13+ messages in thread
From: AJ Spagnoletti @ 2006-03-14 23:44 UTC (permalink / raw
To: gentoo-user
> 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Stop and continue emerge -e world
2006-03-14 23:32 ` Petr Uzel
@ 2006-03-14 23:48 ` Unknown
2006-03-15 8:56 ` Neil Bothwick
0 siblings, 1 reply; 13+ messages in thread
From: Unknown @ 2006-03-14 23:48 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Stop and continue emerge -e world
2006-03-14 23:42 ` Patrick Börjesson
@ 2006-03-15 0:24 ` Petr Uzel
0 siblings, 0 replies; 13+ messages in thread
From: Petr Uzel @ 2006-03-15 0:24 UTC (permalink / raw
To: gentoo-user
> 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Stop and continue emerge -e world
2006-03-14 23:48 ` Unknown
@ 2006-03-15 8:56 ` Neil Bothwick
2006-03-15 14:10 ` Michael Sullivan
0 siblings, 1 reply; 13+ messages in thread
From: Neil Bothwick @ 2006-03-15 8:56 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 430 bytes --]
On Tue, 14 Mar 2006 23:48:46 +0000, 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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Stop and continue emerge -e world
2006-03-15 8:56 ` Neil Bothwick
@ 2006-03-15 14:10 ` Michael Sullivan
2006-03-16 0:25 ` Iain Buchanan
0 siblings, 1 reply; 13+ messages in thread
From: Michael Sullivan @ 2006-03-15 14:10 UTC (permalink / raw
To: gentoo-user
On Wed, 2006-03-15 at 08:56 +0000, Neil Bothwick wrote:
> On Tue, 14 Mar 2006 23:48:46 +0000, 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [gentoo-user] Stop and continue emerge -e world
2006-03-15 14:10 ` Michael Sullivan
@ 2006-03-16 0:25 ` Iain Buchanan
0 siblings, 0 replies; 13+ messages in thread
From: Iain Buchanan @ 2006-03-16 0:25 UTC (permalink / raw
To: gentoo-user
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 <iain at netspace dot net dot au>
A countryman between two lawyers is like a fish between two cats.
-- Ben Franklin
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2006-03-16 0:33 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-14 22:39 [gentoo-user] Stop and continue emerge -e world Petr Uzel
2006-03-14 22:53 ` Petr Uzel
2006-03-14 23:09 ` Unknown
2006-03-14 23:18 ` Neil Bothwick
2006-03-14 23:32 ` Petr Uzel
2006-03-14 23:48 ` Unknown
2006-03-15 8:56 ` Neil Bothwick
2006-03-15 14:10 ` Michael Sullivan
2006-03-16 0:25 ` Iain Buchanan
2006-03-14 23:44 ` AJ Spagnoletti
2006-03-14 23:36 ` JimD
2006-03-14 23:42 ` Patrick Börjesson
2006-03-15 0:24 ` Petr Uzel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox