View previous topic :: View next topic |
Author |
Message |
febisfebi Tux's lil' helper


Joined: 17 Apr 2002 Posts: 76 Location: seattle wa
|
Posted: Sat Apr 20, 2002 7:10 am Post subject: is it risky to emerge 2 different things at the same time? |
|
|
is it risky to emerge 2 different things at the same time? I was just wondering, because there are many times when i am compiling something that is gonna take a while, and i also want to install something else. would this mess up if they had the same dependencies or does portage take care of that? |
|
Back to top |
|
 |
Flake n00b


Joined: 19 Apr 2002 Posts: 44 Location: The Netherlands
|
Posted: Sat Apr 20, 2002 8:56 am Post subject: |
|
|
Yes i would also like to know.
unfortunately the portage manual doesn't state.
i think as long as the two (or more) emerges don't share any requirements it should work.
but i would hate to see two instances of X being compiled side by side cause i did a emerge kde / emerge gnome  |
|
Back to top |
|
 |
Jeevz Bodhisattva


Joined: 15 Apr 2002 Posts: 195 Location: Boston, MA
|
Posted: Sat Apr 20, 2002 11:39 am Post subject: |
|
|
As far as I know, you wouldn't get two instances of X. Portage compiles the source and builds it into a directory structure inside /tmp. When everthing is done, Portage moves the directory structure from /tmp to /. So you would only have one instance of X because the first instance would be overwritten. However, you will be wasting resources compiling both instances of X at once (as Flake noted).
Someone correct me if I'm wrong. |
|
Back to top |
|
 |
geburns n00b


Joined: 19 Apr 2002 Posts: 65 Location: st paul, mn
|
Posted: Sat Apr 20, 2002 12:30 pm Post subject: |
|
|
folks:
afaik, it's not a problem emerging a number of packages at a time. i do it all the time. it would be a good idea to make sure the dependencies are met or at least not going to clobber or race one another. i was emerging gimp, cups and mozilla on different threads, other than a load average higher that 5, i really didn't have any issues.
-g |
|
Back to top |
|
 |
Utoxin Guru


Joined: 19 Apr 2002 Posts: 413 Location: American Fork, UT
|
Posted: Sat Apr 20, 2002 4:27 pm Post subject: |
|
|
Definately okay to do it. I just finished an 8 hour emerge session, in which I emerged about 50 different packages. Worked flawlessly. Portage is truly a great system. |
|
Back to top |
|
 |
slik n00b

Joined: 18 Apr 2002 Posts: 48 Location: Alberta, Canada
|
Posted: Sun Apr 21, 2002 3:25 am Post subject: Re: is it risky to emerge 2 different things at the same tim |
|
|
febisfebi wrote: | is it risky to emerge 2 different things at the same time? |
It can be. I've had emerge stop building something when trying to emerge something else. Happens rarely though. |
|
Back to top |
|
 |
cfrogjump n00b

Joined: 17 Apr 2002 Posts: 20 Location: Utah
|
Posted: Sun Apr 21, 2002 3:45 am Post subject: |
|
|
I emerged mozilla, gimp, and gnome at the same time. no problems at all. |
|
Back to top |
|
 |
niyogi Apprentice


Joined: 10 Apr 2002 Posts: 199 Location: Austin, TX
|
Posted: Sun Apr 21, 2002 6:43 am Post subject: |
|
|
i've done this in the past without any issues.... i guess the question is whether there are packages that are duplicates in the merge lists of each of the "target" packages you want to emerge (when you --pretend the two packages)
did that make *any* sense to anybody?
-S |
|
Back to top |
|
 |
Jeevz Bodhisattva


Joined: 15 Apr 2002 Posts: 195 Location: Boston, MA
|
Posted: Sun Apr 21, 2002 11:27 am Post subject: |
|
|
niyogi wrote: | did that make *any* sense to anybody? |
Yup, made sense to me. I also wonder what would happen. |
|
Back to top |
|
 |
hbbio n00b


Joined: 21 Apr 2002 Posts: 38 Location: Paris, France
|
Posted: Sun Apr 21, 2002 1:52 pm Post subject: Worked also |
|
|
cfrogjump wrote: | I emerged mozilla, gimp, and gnome at the same time. no problems at all. |
I was also wondering about it, tried many "small things" like wmapplets during an emerge gnumeric and it worked fine. So, I made bigger emerge together and it sill went fine.
I just wonder what would happen if both emerge have to merge package at the same time, when writing i.e. files list to its db ? |
|
Back to top |
|
 |
jimmy Guest
|
Posted: Sun Apr 21, 2002 8:53 pm Post subject: |
|
|
geburns wrote: | folks:
afaik, it's not a problem emerging a number of packages at a time. i do it all the time. it would be a good idea to make sure the dependencies are met or at least not going to clobber or race one another. i was emerging gimp, cups and mozilla on different threads, other than a load average higher that 5, i really didn't have any issues.
-g |
So, on the topic of "...a good idea to [check for and avoid dependency overlap]", do we need to do this? It sounds like most people say no, but geburns says its at least a good idea to do it. I think I was trying to install two things that both tried to get X working and then may have stepped on each other -- I saw many "file not found"-like errors as the build plowed by.
So, I'm still unsure. |
|
Back to top |
|
 |
Utoxin Guru


Joined: 19 Apr 2002 Posts: 413 Location: American Fork, UT
|
Posted: Sun Apr 21, 2002 10:37 pm Post subject: |
|
|
Wait... Are you running more than one copy of emerge at once? I wouldn't recommend that. In fact, it probably slows down the whole process. If you want to emerge more than one thing, do it in the same statement. Example:
Code: | emerge gnome mozilla gimp |
This will figure out all their dependencies, and merge them as necessary. If some of them overlap, it realizes it, and only builds what it needs once. |
|
Back to top |
|
 |
hbbio n00b


Joined: 21 Apr 2002 Posts: 38 Location: Paris, France
|
Posted: Tue Apr 23, 2002 8:52 pm Post subject: |
|
|
Utoxin wrote: | Wait... Are you running more than one copy of emerge at once? I wouldn't recommend that. In fact, it probably slows down the whole process. If you want to emerge more than one thing, do it in the same statement. |
we won't do it again... it's just we wanted some little things immediatly while compiling kde/gnome/mozilla/whatever takes forever  |
|
Back to top |
|
 |
|