* [gentoo-user] Power failure in the middle of emerge --emptytree world
@ 2006-07-25 2:26 Mark Knecht
2006-07-25 2:46 ` Dale
2006-07-25 4:02 ` Zac Medico
0 siblings, 2 replies; 9+ messages in thread
From: Mark Knecht @ 2006-07-25 2:26 UTC (permalink / raw
To: gentoo-user
Hi,
A hot summer day blew the power transformer in my backyard. One of
my MythTV frontends was about 2/3 of the way through an emerge
--emptytree world at the time:
1153780822: === (178 of 280) Post-Build Cleaning
(x11-proto/scrnsaverproto-1.1.0::/usr/portage/x11-proto/scrnsaverproto/scrnsaverproto-1.1.0.ebuild)
1153780822: ::: completed emerge (178 of 280)
x11-proto/scrnsaverproto-1.1.0 to /
1153780822: >>> emerge (179 of 280) x11-base/xorg-server-1.0.2-r7 to /
1153780822: === (179 of 280) Cleaning
(x11-base/xorg-server-1.0.2-r7::/usr/portage/x11-base/xorg-server/xorg-server-1.0.2-r7.ebuild)
1153780822: === (179 of 280) Compiling/Merging
(x11-base/xorg-server-1.0.2-r7::/usr/portage/x11-base/xorg-server/xorg-server-1.0.2-r7.ebuild)
1153781845: *** terminating.
What is my best course of action at this point? The machine booted
fine so I could start over. I also saved an old email from Zac Medico
that suggested a command
FEATURES=keepwork emerge --resume
Would this be a good thing to do?
There are currently 5 files to be dealt with under etc-update.
Should I do those first?
Thanks,
Mark
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Power failure in the middle of emerge --emptytree world
2006-07-25 2:26 [gentoo-user] Power failure in the middle of emerge --emptytree world Mark Knecht
@ 2006-07-25 2:46 ` Dale
2006-07-25 4:02 ` Zac Medico
1 sibling, 0 replies; 9+ messages in thread
From: Dale @ 2006-07-25 2:46 UTC (permalink / raw
To: gentoo-user
Mark Knecht wrote:
> Hi,
> A hot summer day blew the power transformer in my backyard. One of
> my MythTV frontends was about 2/3 of the way through an emerge
> --emptytree world at the time:
>
> 1153780822: === (178 of 280) Post-Build Cleaning
> (x11-proto/scrnsaverproto-1.1.0::/usr/portage/x11-proto/scrnsaverproto/scrnsaverproto-1.1.0.ebuild)
>
> 1153780822: ::: completed emerge (178 of 280)
> x11-proto/scrnsaverproto-1.1.0 to /
> 1153780822: >>> emerge (179 of 280) x11-base/xorg-server-1.0.2-r7 to /
> 1153780822: === (179 of 280) Cleaning
> (x11-base/xorg-server-1.0.2-r7::/usr/portage/x11-base/xorg-server/xorg-server-1.0.2-r7.ebuild)
>
> 1153780822: === (179 of 280) Compiling/Merging
> (x11-base/xorg-server-1.0.2-r7::/usr/portage/x11-base/xorg-server/xorg-server-1.0.2-r7.ebuild)
>
> 1153781845: *** terminating.
>
> What is my best course of action at this point? The machine booted
> fine so I could start over. I also saved an old email from Zac Medico
> that suggested a command
>
> FEATURES=keepwork emerge --resume
>
> Would this be a good thing to do?
>
> There are currently 5 files to be dealt with under etc-update.
> Should I do those first?
>
> Thanks,
> Mark
Just type in "emerge --resume" and it should carry on normally. It will
start over with the last package that was not completed though. You can
go ahead and run etc-update if you want. Should not matter but never
hurts either.
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Power failure in the middle of emerge --emptytree world
2006-07-25 2:26 [gentoo-user] Power failure in the middle of emerge --emptytree world Mark Knecht
2006-07-25 2:46 ` Dale
@ 2006-07-25 4:02 ` Zac Medico
2006-07-25 14:45 ` Mark Knecht
1 sibling, 1 reply; 9+ messages in thread
From: Zac Medico @ 2006-07-25 4:02 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mark Knecht wrote:
> What is my best course of action at this point? The machine booted
> fine so I could start over. I also saved an old email from Zac Medico
> that suggested a command
>
> FEATURES=keepwork emerge --resume
>
> Would this be a good thing to do?
I wouldn't recommend the FEATURES=keepwork anymore because there's no guarantee that the build will resume properly. It's safest to simply use --resume as suggested by Dale.
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
iD8DBQFExZfc/ejvha5XGaMRAuitAJ4tUoj5p+kzJb8mqZc2Riq4cQ6LqwCfb00l
3jJlkkhbxLKCva5R6mOR2yc=
=ZQxl
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Power failure in the middle of emerge --emptytree world
2006-07-25 4:02 ` Zac Medico
@ 2006-07-25 14:45 ` Mark Knecht
2006-07-25 18:39 ` Dale
0 siblings, 1 reply; 9+ messages in thread
From: Mark Knecht @ 2006-07-25 14:45 UTC (permalink / raw
To: gentoo-user
On 7/24/06, Zac Medico <zmedico@gentoo.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Mark Knecht wrote:
> > What is my best course of action at this point? The machine booted
> > fine so I could start over. I also saved an old email from Zac Medico
> > that suggested a command
> >
> > FEATURES=keepwork emerge --resume
> >
> > Would this be a good thing to do?
>
> I wouldn't recommend the FEATURES=keepwork anymore because there's no guarantee that the build will resume properly. It's safest to simply use --resume as suggested by Dale.
>
> Zac
Thanks you guys. I did the emerge --resume and things seem to have
completed correctly.
Now if I could just get the machine to work properly I'd be in heaven! ;-)
Cheers all,
Mark
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Power failure in the middle of emerge --emptytree world
2006-07-25 14:45 ` Mark Knecht
@ 2006-07-25 18:39 ` Dale
2006-07-25 19:58 ` Mark Knecht
0 siblings, 1 reply; 9+ messages in thread
From: Dale @ 2006-07-25 18:39 UTC (permalink / raw
To: gentoo-user
Mark Knecht wrote:
> On 7/24/06, Zac Medico <zmedico@gentoo.org> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Mark Knecht wrote:
>> > What is my best course of action at this point? The machine booted
>> > fine so I could start over. I also saved an old email from Zac Medico
>> > that suggested a command
>> >
>> > FEATURES=keepwork emerge --resume
>> >
>> > Would this be a good thing to do?
>>
>> I wouldn't recommend the FEATURES=keepwork anymore because there's no
>> guarantee that the build will resume properly. It's safest to simply
>> use --resume as suggested by Dale.
>>
>> Zac
>
> Thanks you guys. I did the emerge --resume and things seem to have
> completed correctly.
>
> Now if I could just get the machine to work properly I'd be in heaven!
> ;-)
>
> Cheers all,
> Mark
Keep in mind that when it is compiling that it is done in a temporary
location. After the compile is done, then it copies it over. Now if it
dies while it was copying to it's place to actually run, usually /, then
there could be problems. Unless it was changed, compiling takes place
in /var/tmp/portage.
Someone correct me if I am wrong.
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Power failure in the middle of emerge --emptytree world
2006-07-25 18:39 ` Dale
@ 2006-07-25 19:58 ` Mark Knecht
2006-07-25 20:29 ` Dale
0 siblings, 1 reply; 9+ messages in thread
From: Mark Knecht @ 2006-07-25 19:58 UTC (permalink / raw
To: gentoo-user
On 7/25/06, Dale <teendale@vista-express.com> wrote:
> Mark Knecht wrote:
<SNIP>
> > Now if I could just get the machine to work properly I'd be in heaven!
> > ;-)
> >
> > Cheers all,
> > Mark
>
> Keep in mind that when it is compiling that it is done in a temporary
> location. After the compile is done, then it copies it over. Now if it
> dies while it was copying to it's place to actually run, usually /, then
> there could be problems. Unless it was changed, compiling takes place
> in /var/tmp/portage.
>
> Someone correct me if I am wrong.
>
> Dale
Dale,
Sorry. My bad for making such an off-hand comment. The emerge
process worked completely correctly and everything was moved to the
right place. None of that is a problem.
The problem I'm having is that I have two machines with identical
hardware. (Pundit-R's). They were both running as MythTV frontend only
boxes using an old kernel, old ati-driver and old MythTV. One I
rebuilt from scratch instead of updating. It works perfectly. The
second I updated because it also serves as an NFS file server and I
didn't want to take it off line for very long. For some reason on the
second machine ati-drivers won't load. That's the problem I was
alluding to earlier.
Cheers,
Mark
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Power failure in the middle of emerge --emptytree world
2006-07-25 19:58 ` Mark Knecht
@ 2006-07-25 20:29 ` Dale
2006-07-25 22:10 ` Zac Medico
0 siblings, 1 reply; 9+ messages in thread
From: Dale @ 2006-07-25 20:29 UTC (permalink / raw
To: gentoo-user
Mark Knecht wrote:
> On 7/25/06, Dale <teendale@vista-express.com> wrote:
>> Mark Knecht wrote:
> <SNIP>
>> > Now if I could just get the machine to work properly I'd be in heaven!
>> > ;-)
>> >
>> > Cheers all,
>> > Mark
>>
>> Keep in mind that when it is compiling that it is done in a temporary
>> location. After the compile is done, then it copies it over. Now if it
>> dies while it was copying to it's place to actually run, usually /, then
>> there could be problems. Unless it was changed, compiling takes place
>> in /var/tmp/portage.
>>
>> Someone correct me if I am wrong.
>>
>> Dale
>
> Dale,
> Sorry. My bad for making such an off-hand comment. The emerge
> process worked completely correctly and everything was moved to the
> right place. None of that is a problem.
>
> < snip >
> Cheers,
> Mark
That was for future reference. If in the future you are seeing it copy
the install over and power fails, then you may need to re-emerge it and
be ready for "issues". I'm not really sure what those would be though.
It may work just fine, it may not.
I'm bad at looking to far ahead. My wife has noticed that too. :\
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Power failure in the middle of emerge --emptytree world
2006-07-25 20:29 ` Dale
@ 2006-07-25 22:10 ` Zac Medico
2006-07-26 1:04 ` Dale
0 siblings, 1 reply; 9+ messages in thread
From: Zac Medico @ 2006-07-25 22:10 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dale wrote:
> That was for future reference. If in the future you are seeing it copy
> the install over and power fails, then you may need to re-emerge it and
> be ready for "issues". I'm not really sure what those would be though.
> It may work just fine, it may not.
>
> I'm bad at looking to far ahead. My wife has noticed that too. :\
This is an important detail and you're right to be concerned about it. However, AFAIK, portage handles this pretty well. You should receive some type of notice about an "incomplete merge" if a merge has been interrupted.
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
iD8DBQFExpbh/ejvha5XGaMRAn/UAJ0R3bD2iI0ugYobM7HD8HGG1GmslgCg57mB
XpLiecgbcVrK5ZFD79slMpI=
=mMqZ
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Power failure in the middle of emerge --emptytree world
2006-07-25 22:10 ` Zac Medico
@ 2006-07-26 1:04 ` Dale
0 siblings, 0 replies; 9+ messages in thread
From: Dale @ 2006-07-26 1:04 UTC (permalink / raw
To: gentoo-user
Zac Medico wrote:
> Dale wrote:
> >> That was for future reference. If in the future you are seeing it copy
> >> the install over and power fails, then you may need to re-emerge it and
> >> be ready for "issues". I'm not really sure what those would be
> though.
> >> It may work just fine, it may not.
> >>
> >> I'm bad at looking to far ahead. My wife has noticed that too. :\
>
> This is an important detail and you're right to be concerned about
> it. However, AFAIK, portage handles this pretty well. You should
> receive some type of notice about an "incomplete merge" if a merge has
> been interrupted.
>
> Zac
I have had to stop emerges before and it doesn't hurt anything. The
power failure is basically the same as ctrl + c or killing the process.
I have done that a few times before and it has never been a problem or
caused any that I know of.
That said, I have never had the same situation during the actual copying
of the install from the tmp location to the running system though. I'm
sure someone that codes portage has thought of this and as you said, I
am sure there is some "feature" that would deal with this. I'm not sure
when this error or message would pop up though. If you think about it,
the actual install is really short so it may not happen very often.
Let's just hope nobody has this problem and it causes any problems. ;-)
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-07-26 1:09 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-25 2:26 [gentoo-user] Power failure in the middle of emerge --emptytree world Mark Knecht
2006-07-25 2:46 ` Dale
2006-07-25 4:02 ` Zac Medico
2006-07-25 14:45 ` Mark Knecht
2006-07-25 18:39 ` Dale
2006-07-25 19:58 ` Mark Knecht
2006-07-25 20:29 ` Dale
2006-07-25 22:10 ` Zac Medico
2006-07-26 1:04 ` Dale
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox