This started for me, and then i noted it was downloading from distant repositories (de).
I stopped it and changed the repos to local ones and then restarted.
I remember gentoo having a package which found your closest repos and then set the config script to use them. I think that type of package would be an improvement for the script. I don´t know if debian even has one.
from what i understand, de is a sane default, as it gets good speeds from pretty much everywhere. Whereas other mirrors are only good when your close.
I've had no issue using de mirrors.
just call me...
de is a good default; just edit your /etc/apt/sources.list if you prefer a different mirror (or use something like smxi).
There is also an app called netselect that claims to find the fastest mirror; haven't tried it personally.
I tried an online selector, though i've never tried netselect. The problem is, at least with the online program i tried, is it takes your current speeds. It doesn't look at how reliable the mirror is in giving you speeds at other times. It would be better to select a mirror thats slightly slower, but has a reliable speed, rather then one that has spikes of high and low.
just call me...
The "Software Sources" app (also called from within Synaptic when choosing the repositories) has mirror tests.
^wuy, does that "software sources" app work for you in Debian, or only Ubuntu?
I think the command would be 'gksu software-properties-gtk' and for me it fails to launch on Statler, with the error message currently "GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed"
It worked on alpha 1 but even then I don't remember those mirror tests the Ubuntu version has.
edit: according to this, "the error only occurs with packages that need installation of dependencies" so I'll have to look around for some possible missing package...
('gksu update-manager' gives the same error so maybe it's something related to gksu?)
Last edited by johnraff (2010-09-11 05:41:34)
great job on the cb-welcome script, saves lots of time typing stuff and trying to remember every little apache mod or some component for packaging.. I pretty much use every thing out of it except the extra xfce session
... and a kind word. -Duke
@rstrcogburn, I am glad you like it.
I am not sure it will exist in its current form in the next release, but the scripts will be available. Maybe add them to the "settings" menu or something. Just thinking out loud.
Being in the US the de mirror can slow me down a bit. Using the uchicago mirror shaves over an hour off of my initial (.4G) dist-upgrade. Netselect-apt will find a currently fast mirror and write a proper .list file for the sources.list.d directory. On problem is that it often pick a mirror with numerical url that apt does not like. Another is the repo seems to be rated on current speed rather than persistent throughput.
sudo netselect-apt --nonfree squeeze --outfile $HOME/documents/squeeze.list
You could as easily write the output to /etc/apt/sources.list.d/squeeze.list. I am still unclear about apt preferences , pinning and the interplay between sources.list and the .list files ins ources.list.d .
~/documents/squeeze.list is now below. The old file is automatically backed up.
# Debian packages for squeeze
deb http://mirror.peer1.net/debian/ squeeze main contrib non-free
# Uncomment the deb-src line if you want 'apt-get source'
# to work with most packages.
# deb-src http://mirror.peer1.net/debian/ squeeze main contrib non-free
# Security updates for stable
# deb http://security.debian.org/ stable/updates main contrib non-free
Last edited by brokenpike (2010-11-29 17:11:57)