1 |
I only use the standard emerge utility. I can't access the system at the moment since I'm at work. I was hoping to have some ideas to try out tonight. |
2 |
|
3 |
I believe my cron job just does a straight call to "emerge --sync" (e.g. no wrapping script, etc.); and it runs sometime between midnight and 6 AM. (Can't recall off hand.) |
4 |
But - per gentoo portage protocol - it only runs once a day, no more. |
5 |
|
6 |
And I am only referring to the time specified in the "calculating dependencies" stage when one first runs "emerge world -vuDNp". |
7 |
|
8 |
I'll see if I have the space available to move portage on/off the partition it is on and see if that improves things; it is an ext3 partition that it is on. |
9 |
|
10 |
Ben |
11 |
|
12 |
|
13 |
|
14 |
----- Original Message ---- |
15 |
From: Daniel Pielmeier <daniel.pielmeier@××××××××××.com> |
16 |
To: gentoo-user@l.g.o |
17 |
Sent: Thursday, September 18, 2008 9:36:23 AM |
18 |
Subject: Re: [gentoo-user] Emerge takes a long time calculating dependencies... |
19 |
|
20 |
2008/9/18 BRM <bm_witness@×××××.com>: |
21 |
> And syncing portage is done nightly using a cron job to do "emerge --sync"; however, I run "emerge world -vuDNp" manually. |
22 |
|
23 |
How often does this cron job run and what are the contents of your |
24 |
cron script. Do you use "emerge --sync" or probably "eix-sync". I am |
25 |
asking this because if you sync to often and you use eix-sync the |
26 |
portage cache is deleted in advantage of the sync and is not recreated |
27 |
if it fails because of identical timestamps between the local machine |
28 |
and the rsync server. |
29 |
|
30 |
So when calling emerge after this the cache has to be created before |
31 |
and thus it seems dependency calculation takes very long. |
32 |
|
33 |
> (The system also hosts portage via rsync for my other gentoo system on my network too, which I manually sync against it; I might be adding another system too in the same manner, not sure yet.) |
34 |
> |
35 |
> Ben |