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)