Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"emerge -e world" exits on error - how to restart?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
neoklis
n00b
n00b


Joined: 04 Nov 2002
Posts: 56
Location: Limassol, Cyprus

PostPosted: Wed Jul 23, 2003 1:49 pm    Post subject: "emerge -e world" exits on error - how to restart? Reply with quote

Hi all,

I tried to do "emerge -e world" after upgrading portage (have 1.4-rc4 installed) and also changing CFLAGS from -march=i686 to -mcpu=pentium3. After running for a few hours, the process stopped with an error message about the xmms package's md5 sum not matching the digest.

I would like to complete the process but "emerge -ep world" shows that the process would start from scratch. I wonder if its possible to restart the process from where it failed or if not, whats the best way to do emerge -e world to avoid a complete re-run? And how can check all the packages in distfiles for integrity?

My thanks in advance!
_________________
Regards

Neoklis My Ham Radio call: 5B4AZ
My website with ham radio software: http://5b4az.chronos.org.uk/
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Wed Jul 23, 2003 2:03 pm    Post subject: Reply with quote

emerge -e --resume world
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
neoklis
n00b
n00b


Joined: 04 Nov 2002
Posts: 56
Location: Limassol, Cyprus

PostPosted: Wed Jul 23, 2003 3:19 pm    Post subject: Reply with quote

TheCoop wrote:
emerge -e --resume world


Thanks! I should keep my eyes more open when I read docs ...

I tried it but it says there is nothing to resume. I wonder if this is because I did an emerge -u world to upgrade some packges, after emerge -e world stopped? Or perhaps emerge -e world did complete, giving me the error message at the end? Checking the time stamps of some binaries shows that some are dated at the original install and some are dated today.

Thanks again.
_________________
Regards

Neoklis My Ham Radio call: 5B4AZ
My website with ham radio software: http://5b4az.chronos.org.uk/
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Wed Jul 23, 2003 5:35 pm    Post subject: Reply with quote

it resumes the last emerge you did. Therefore if the last emerge you did completed sucsessfully then there is nothing to resume, and you will have to do emerge -e world again
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
insomniac
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2002
Posts: 132
Location: Lund, Sweden

PostPosted: Fri Jul 25, 2003 6:03 pm    Post subject: Reply with quote

is it possible to reboot and resume emerge when rebooted?
(i just upgraded my CPU and my gf doesn't like the computer being on 24/7)...
_________________
My next computer is also a Gentoo computer
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9530
Location: beyond the rim

PostPosted: Fri Jul 25, 2003 6:20 pm    Post subject: Reply with quote

The resume information is stored in /var/cache/edb, so reboot should be ok.
Back to top
View user's profile Send private message
insomniac
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2002
Posts: 132
Location: Lund, Sweden

PostPosted: Fri Jul 25, 2003 7:30 pm    Post subject: Reply with quote

Great news - i'll try soon! :-)

Update (next morning):
Works fine! Now I have only 385 packages to recompile! Hooray!
_________________
My next computer is also a Gentoo computer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum