Welcome! Log In Create A New Profile

Advanced

Known Good Mirrors (also: Package Foo)

Posted by frozenrhino 
Known Good Mirrors (also: Package Foo)
December 27, 2010 04:14PM
Hi,

Apparently cdn.debian.net sends one to a random mirror. Having tried a number of mirrors on the debian mirror list, with poor results thus far, I'm wondering if anyone has a known good mirror that they can recommend.

Half the time the install script hangs at getting packages, sometimes it tells me packages.gz is corrupt, and sometimes it hangs while getting a random package (last time was grep of all things).

Thanks,

FZR
Re: Known Good Mirrors (also: Package Foo)
December 27, 2010 04:40PM
Failing having a known good mirror, is there any way to get the install script to not do the mk2fs part? That just seems to take forever and if all it's doing is partitioning the drive again, it should still be partitioned from the last time I ran the script. Just cutting out that 5-10 minutes would be a huge help. Then I could just vi different mirrors into the script and try them to see which one finally gets me the win.

Thanks

FZR
rat
Re: Known Good Mirrors (also: Package Foo)
December 27, 2010 05:59PM
I personally use punk.uchicago.edu for my mirror. It's a little slow to update by the download speeds have been great for me as it's a local mirror.

Your best bet is to look at this list: http://www.debian.org/mirror/list

and change cdn.debian.net to one of the mirrors in that list that falls under your country and closest possible geographic region under the Secondary Mirrors list that has "armel" in its supported builds.
Re: Known Good Mirrors (also: Package Foo)
December 27, 2010 06:07PM
I'm here in Minneapolis, so Chicago is pretty good. I was hoping that U of MN had a mirror, but alas. They used be a big sourceforge mirror in the day, and gopher:// is named after, well, the Gophers.

I'll give that a shot. It's too bad that the script doesn't have some sort of timeout-fall to the next mirror on a list sort of thing.

I think next I'll try making a stub version of the script that only does the download and install and leaves off the uboot/mk2fs'ng parts.
Re: Known Good Mirrors (also: Package Foo)
December 27, 2010 06:19PM
My (local) favorite, fast!

http://mirrors.tummy.com

HTH, Jim
Re: Known Good Mirrors (also: Package Foo)
December 27, 2010 06:37PM
Or try netselect-apt...
apt-get install netselect-apt
cd /tmp
wget http://www.debian.org/mirror/mirrors_full
netselect-apt -i mirrors_full -n squeeze 2>&1 | grep -A1 "The fastest server"
If the suggested server isnt good, remove it from the mirror list and find the next fastest...
root@dockstar1:/tmp# netselect-apt -i mirrors_full -n squeeze 2>&1 | grep -A1 "The fastest server"
The fastest server seems to be:
        http://mirror.cc.columbia.edu/debian/
root@dockstar1:/tmp# perl -pi -e 's#mirror.cc.columbia.edu#xxx#g' /tmp/mirrors_full 
root@dockstar1:/tmp# netselect-apt -i mirrors_full -n squeeze 2>&1 | grep -A1 "The fastest server"
The fastest server seems to be:
        http://24.215.0.24/debian/
root@dockstar1:/tmp# perl -pi -e 's#24.215.0.24#xxx#g' /tmp/mirrors_full 
root@dockstar1:/tmp# netselect-apt -i mirrors_full -n squeeze 2>&1 | grep -A1 "The fastest server"
The fastest server seems to be:
        http://debian.lcs.mit.edu/debian/
... and so on.

-PG
Re: Known Good Mirrors (also: Package Foo)
December 27, 2010 07:18PM
That's pretty. I'll definitely put that to use. Thanks!
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: