Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
parallel emerge severall packages
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
theanimal666
n00b
n00b


Joined: 25 Apr 2002
Posts: 5

PostPosted: Fri Apr 26, 2002 12:57 am    Post subject: parallel emerge severall packages Reply with quote

Hi!

Does anone of you know if it is save to run emerge on several terminals at the same time for merging several packages at once?

...thanks,
chris
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Apr 26, 2002 2:26 am    Post subject: Reply with quote

With the fact that compiles run in a "sandbox" and given Portage's config file protection, you ought to be good. Nothing critical should be overwritten, and as long as they don't install at exactly the same instant, I don't see how bad things could happen.
Back to top
View user's profile Send private message
tod
Developer
Developer


Joined: 17 Apr 2002
Posts: 136
Location: Ozarks, USA

PostPosted: Fri Apr 26, 2002 2:20 pm    Post subject: Reply with quote

Hi!

You'll be ok as long as you do the parallel merge for dependency indepent apps. If you try to merge packages that have common dependencies or depend on each other you may or may not run into problems.

An obviously simple example of a parallel merge doomed to failure: mozilla and galeon, there is no way that mozilla would finish merging in time to satisfy the dependencies of galeon.

While that is a simple example, there are much subtler instances that won't work either.

hth

tod
Back to top
View user's profile Send private message
Target
Apprentice
Apprentice


Joined: 25 Apr 2002
Posts: 200

PostPosted: Fri Apr 26, 2002 9:04 pm    Post subject: Reply with quote

It's probably better to just merge them one after the other with one command, since they'd only be stealing cpu cycles from each other while compiling anyway.

eg:
emerge mozilla galeon xmms whathaveyou
Back to top
View user's profile Send private message
tod
Developer
Developer


Joined: 17 Apr 2002
Posts: 136
Location: Ozarks, USA

PostPosted: Fri Apr 26, 2002 9:10 pm    Post subject: Reply with quote

Target wrote:
It's probably better to just merge them one after the other with one command, since they'd only be stealing cpu cycles from each other while compiling anyway.

eg:
emerge mozilla galeon xmms whathaveyou


True, but downloading doesn't steal many cpu cycles, and if you are on dial-up, you can save a lot of time if you have multiple emerge running, some compiling some downloading.
Back to top
View user's profile Send private message
Target
Apprentice
Apprentice


Joined: 25 Apr 2002
Posts: 200

PostPosted: Fri Apr 26, 2002 11:19 pm    Post subject: Reply with quote

You could emerge --fetchonly packages in one window while ones you've downloaded compile in the other. :)
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