Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
If I break a long emerge can I restart where I left off?
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
carlos123
Guru
Guru


Joined: 12 Feb 2003
Posts: 536
Location: Alberta, Canada.

PostPosted: Sun Mar 09, 2003 12:21 am    Post subject: If I break a long emerge can I restart where I left off? Reply with quote

This morning at 7:00 am I started an emerge of kde. Well it's now almost 5:00 pm and it's still not done.


Given that I am going to have to break the emerge and stop it in order to get anything done on my computer and was just wondering...


Can I break an emerge like the one for kde and start it again? Such that I don't have to start all over again?


Will breaking an emerge cause the package I was trying to emerge to be left in an unusable state? Such that it might be broken in the middle of compiling an important file?

Any insight on this would be appreciated. I have only one Linux computer and can't afford to tie up the computer for a whole day at a time just to emerge something. I have no idea how long the emerge of kde is going to take but it's certainly taking a lot longer than I expected. I am using a Pentium III 450 MHz with 512 MB Ram.

Thanks.

Carlos
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Sun Mar 09, 2003 12:30 am    Post subject: Reply with quote

You might want to read this thread.

BTW. With your hardware emerging KDE will take a couple of days I think.
It took ~20h with my p3 1GHz 512MB RAM.
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
carlos123
Guru
Guru


Joined: 12 Feb 2003
Posts: 536
Location: Alberta, Canada.

PostPosted: Sun Mar 09, 2003 2:20 am    Post subject: Reply with quote

Thanks bsolar!

Whew!! I was seriously starting to go through computer withdrawal symptoms :).

I kept coming back to an alternate root console trying to find something to do but ran out of things so I gave up and just broke out of the emerge.

Sure glad I didn't wait no 24 hours!

Excellent post you directed me to bsolar.

Thanks again.

Carlos
Back to top
View user's profile Send private message
Delphiki
Guru
Guru


Joined: 04 Oct 2002
Posts: 337
Location: A2

PostPosted: Sun Mar 09, 2003 6:50 am    Post subject: Reply with quote

If the emerge stops you can also use the make command in the work directory to manually complete it, then use the ebuild command to finish install and merging the package. see man ebuild for more info.
_________________
Excellent..
Back to top
View user's profile Send private message
DooBeDooBeDo
Apprentice
Apprentice


Joined: 21 Aug 2002
Posts: 220
Location: UK

PostPosted: Sun Mar 09, 2003 10:08 am    Post subject: Reply with quote

I nice long emerges eg.

nice -n 15 emerge kde

The emerge churns on in the background using all the *spare* CPU, so if I need CPU for other things I nicely get it :) and the box stays responsive.
Back to top
View user's profile Send private message
carlos123
Guru
Guru


Joined: 12 Feb 2003
Posts: 536
Location: Alberta, Canada.

PostPosted: Sun Mar 09, 2003 10:40 am    Post subject: Reply with quote

That's really cool DooBeDooBeDo (quite a name you got there :))

I never thought of using nice. I'll have to look into that and see what that's all about. How some of the Linux gurus on this forum remember what is where and what to use for what boggles my mind.

I guess it comes with lots and lots of repetition and practice.

Thanks again.

Carlos
Back to top
View user's profile Send private message
DooBeDooBeDo
Apprentice
Apprentice


Joined: 21 Aug 2002
Posts: 220
Location: UK

PostPosted: Sun Mar 09, 2003 12:19 pm    Post subject: Reply with quote

I think it's worth getting some kind of *nix reference book, I got O'Reilly's "Unix in a nutshell" a few years ago , and still find it useful every now and then ;)
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