View previous topic :: View next topic |
Author |
Message |
Zarathustra[H] Guru
Joined: 30 Dec 2002 Posts: 389 Location: Cambridge, MA, USA
|
Posted: Sat Jan 25, 2003 7:18 pm Post subject: emerge force mirror? |
|
|
Hi!
As I understand it, when I run emerge, it randomly selects on of the mirrors to download from.
I happen to be on the same LAN as a portage mirror (libre.oit.umass.edu) and I get full 10mbit downloads from this mirror. (this mirror is blocked from off-lan access)
In other words, it dowsn't make sense for me to download from any other mirror. Is there any way I can force emerge to use this mirror?
Thanks,
Matt _________________ ----
Athlon 64 3000+ / 1Gb Kingston Hyperx PC3500 / MSI K8N Neo / Geforce 6800GT
---- |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sat Jan 25, 2003 7:53 pm Post subject: |
|
|
There are two sets of mirrors, and I'm not sure which you're talking about. rsync mirrors are used when you "emerge sync": you can set those by defining SYNC in make.conf. Source mirrors are used when you download sources: those can be set by defining GENTOO_MIRRORS in make.conf. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Zarathustra[H] Guru
Joined: 30 Dec 2002 Posts: 389 Location: Cambridge, MA, USA
|
Posted: Sat Jan 25, 2003 8:04 pm Post subject: |
|
|
rac wrote: | There are two sets of mirrors, and I'm not sure which you're talking about. rsync mirrors are used when you "emerge sync": you can set those by defining SYNC in make.conf. Source mirrors are used when you download sources: those can be set by defining GENTOO_MIRRORS in make.conf. |
Nice. I'm not really sure how to do that. Is there any documentation on this? (or just an example make.conf would do
Thanks again,
Matt _________________ ----
Athlon 64 3000+ / 1Gb Kingston Hyperx PC3500 / MSI K8N Neo / Geforce 6800GT
---- |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sat Jan 25, 2003 9:26 pm Post subject: |
|
|
Look at make.globals for samples. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Zarathustra[H] Guru
Joined: 30 Dec 2002 Posts: 389 Location: Cambridge, MA, USA
|
Posted: Mon Jan 27, 2003 5:30 am Post subject: |
|
|
rac wrote: | Look at make.globals for samples. |
Thanks for your help.
I have GENTOO_MIRRORS set up so it works correctly, but SYNC is casuing me some trouble.
in make.conf, my sync line looks as follows.
SYNC="ftp://libre.oit.umass.edu/gentoo/portage"
However when I run emerge sync, I get the following error:
# emerge sync
!!! rsync setting: ftp://libre.oit.umass.edu/gentoo/portage not
recognized; exiting.
Do you by any chance know what I am doing wrong?
I really appreciate all your help in this thread an dothers.
Thanks,
Matt _________________ ----
Athlon 64 3000+ / 1Gb Kingston Hyperx PC3500 / MSI K8N Neo / Geforce 6800GT
---- |
|
Back to top |
|
|
Zarathustra[H] Guru
Joined: 30 Dec 2002 Posts: 389 Location: Cambridge, MA, USA
|
Posted: Mon Jan 27, 2003 5:33 am Post subject: |
|
|
actually, I found that the rsync on that server is under /gentoo/rsync. I tried that instead, but I still get the error.
Any suggestions?
Thanks,
Matt _________________ ----
Athlon 64 3000+ / 1Gb Kingston Hyperx PC3500 / MSI K8N Neo / Geforce 6800GT
---- |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Jan 27, 2003 6:50 am Post subject: |
|
|
Protocol should probably be "rsync://", not "ftp://". _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|