Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Any way to non-destructively pause emerge -u world?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Skics
n00b
n00b


Joined: 23 Feb 2003
Posts: 11

PostPosted: Sun Feb 23, 2003 8:21 pm    Post subject: Any way to non-destructively pause emerge -u world? Reply with quote

Subject says it all. I have a slow connection and I have to use the phone, can I pause emerge -u world?

Thanks in advance,

Skics
Back to top
View user's profile Send private message
compu-tom
Guru
Guru


Joined: 09 Jan 2003
Posts: 415
Location: Berlin, Germany

PostPosted: Sun Feb 23, 2003 8:23 pm    Post subject: Reply with quote

CTRL-Z, later fg to resume.
Back to top
View user's profile Send private message
Skics
n00b
n00b


Joined: 23 Feb 2003
Posts: 11

PostPosted: Sun Feb 23, 2003 8:35 pm    Post subject: Reply with quote

I just type "fg" to resume? Sorry for being a n00b.
Back to top
View user's profile Send private message
compu-tom
Guru
Guru


Joined: 09 Jan 2003
Posts: 415
Location: Berlin, Germany

PostPosted: Sun Feb 23, 2003 8:41 pm    Post subject: Reply with quote

Skics wrote:
I just type "fg" to resume? Sorry for being a n00b.

Yes ;-)

Example
Code:
sleep 60
CTRL-Z # type the control key together with z, "sleep" will be suspended
jobs # verify "sleep is now a suspended background job
fg # bring "sleep" to the foreground
Back to top
View user's profile Send private message
Skics
n00b
n00b


Joined: 23 Feb 2003
Posts: 11

PostPosted: Sun Feb 23, 2003 8:49 pm    Post subject: Reply with quote

Thanks for the help man , I appreciate it. Also, one more question... Do I have to emerge -u world? Does this just update exsisting packages or does it install ones that don't exsist yet? I'm trying to do a stage 3 install. Thanks again.
Back to top
View user's profile Send private message
compu-tom
Guru
Guru


Joined: 09 Jan 2003
Posts: 415
Location: Berlin, Germany

PostPosted: Sun Feb 23, 2003 8:58 pm    Post subject: Reply with quote

Skics wrote:
Thanks for the help man

It was me a pleasure. ;-)

Quote:
Do I have to emerge -u world? Does this just update exsisting packages or does it install ones that don't exsist yet?

This will only update existing packages, except for one case where it will install new package: when the dependencies changed. E.g., lets say you installed program A which depended on lib B. Now, some weeks later, the program has improved to work with lib C instead of B. This time of emerge and assumed you haven't the lib C already installed, lib C will be installed first and the A will be upgraded with support for lib C.
Back to top
View user's profile Send private message
Skics
n00b
n00b


Joined: 23 Feb 2003
Posts: 11

PostPosted: Sun Feb 23, 2003 9:02 pm    Post subject: Reply with quote

Thanks so much for the help man. I will get this thing licked yet!

Cheers,

Skics
Back to top
View user's profile Send private message
gilesjuk
Guru
Guru


Joined: 11 Feb 2003
Posts: 412
Location: Staffordshire, UK

PostPosted: Sun Feb 23, 2003 9:09 pm    Post subject: Reply with quote

Skics wrote:
I just type "fg" to resume? Sorry for being a n00b.


Yup, if you actually want it to continue in the background you can also type bg

If you later want to go back to that job you type fg followed by the job number.

This is multitasking the old-sk00l way :)

Another tip

if you start an app that blocks the shell, run it like this:

appname&

it will then run in the background freeing the shell for other stuff.
Back to top
View user's profile Send private message
compu-tom
Guru
Guru


Joined: 09 Jan 2003
Posts: 415
Location: Berlin, Germany

PostPosted: Sun Feb 23, 2003 9:15 pm    Post subject: Reply with quote

gilesjuk wrote:
If you later want to go back to that job you type fg followed by the job number.
Code:
fg %5
to be correct (with % sign ;-)), assuming the job number is 5. Get a list of running background jobs (per shell) with "jobs".
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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