View previous topic :: View next topic |
Author |
Message |
illogical_simby n00b
Joined: 12 Feb 2003 Posts: 1 Location: Australia
|
Posted: Wed Feb 12, 2003 9:00 am Post subject: Picking a specific portage mirror |
|
|
Hi all,
This may seem like a stupid question, and may have a REALLY obvious solution. My issue is, my ISP (Telstra in Australia) caps my download limits - so I need to pick a mirror (planetmirror.com) that is uncapped. Is there anyway in the portage configuration file (/etc/make.conf) that I can put which mirror FTP/HTTP site to use ALL the time?
I've tried the GENTOO_MIRRORS="ftp://123:123@planetmirror.com" (I need to login for it to work) - but when I run any portage commands it still looks for the latest list of mirrors and ignores my entry.
Any help on this will be appreciated, as I'm dying to install 1.4rc2! Thanks all! |
|
Back to top |
|
|
cyfred Retired Dev
Joined: 23 Aug 2002 Posts: 596
|
Posted: Wed Feb 12, 2003 12:07 pm Post subject: |
|
|
Well im on the 3G ADSL plan and havnt ever broken the cap, albeit for a first install your will have a larger download -- look in the file /etc/make.globals -- you will actually see where the mirrors are set, just add a the planetmirror address to that.
Code: | GENTOO_MIRRORS="ftp://123:123@planetmirror.com http://gentoo.oregonstate.edu ... " |
Be warned though, if the specific filename cannot be found then the next mirror is used. So the files need to be in /distfiles/<name_from_ibilio.org> for this method to work.
If you desperately want a portage cache I could send you two CDs with mine on it, once you have one the downloads a rather minimal |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Feb 12, 2003 7:19 pm Post subject: |
|
|
Please don't edit make.globals. Define GENTOO_MIRRORS in /etc/make.conf instead, using the same syntax as make.globals. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
cyfred Retired Dev
Joined: 23 Aug 2002 Posts: 596
|
Posted: Wed Feb 12, 2003 11:08 pm Post subject: |
|
|
rac wrote: | Please don't edit make.globals. Define GENTOO_MIRRORS in /etc/make.conf instead, using the same syntax as make.globals. |
No generally you shouldnt edit make.globals, but I did test this before posting and the mirror I added to make.conf did not work, it didnt even report file not found. I checked this again this morning though and it does work, so I mustve typed something wrong lastnight...
For the record use make.conf it does work. |
|
Back to top |
|
|
needlern1 Guru
Joined: 16 Jul 2002 Posts: 376 Location: Marietta, Ga 30068
|
Posted: Sat Feb 15, 2003 1:05 pm Post subject: |
|
|
During my installation of 1.4-rc1, while I was chrooted in /mnt/gentoo, I did not replace my /etc/make.conf or globals files. Before exiting I ran 'etc-update' and had those two files showing (IIRC). I think I just skipped over them during my configuring process.
Now in my successfully installed system my /etc/make.conf had two GENTOO_MIRRORS entries for ftp sites (which I also used while building the system). The first, gatech worked wonderfully while building. Now it has turned to stone! So, I want to use the second listing, oregonstate. After several attempts to emerge kde stalled out on the connection to gatech I removed the gatech listing all together from my /etc/make.conf file, leaving just the oregonstate site.
However, when I try to emerge something, it is still trying to work from the gatech site. My /etc/make.globals still shows the original ibiblio.org site.
How should I persue correcting this? TIA, Bill |
|
Back to top |
|
|
xenon Guru
Joined: 25 Dec 2002 Posts: 432 Location: Europe
|
Posted: Sun Feb 16, 2003 4:56 pm Post subject: |
|
|
There's a nice thingie called mirrorselect that does the job in a simple menu-driven way. Emerge it and give it a try if you don't want to mess with long URLs. |
|
Back to top |
|
|
needlern1 Guru
Joined: 16 Jul 2002 Posts: 376 Location: Marietta, Ga 30068
|
Posted: Sun Feb 16, 2003 8:30 pm Post subject: |
|
|
Thanks xenon. I did that during the installation process. WOW. EURIKA. I had forgotten about it. I just went to my linux box, entered the 'mirrorselect' command deleted the gatech check mark, which left the oregonstate site. I'm back in business. Thanks to all for your help. Bill |
|
Back to top |
|
|
|