PDA

View Full Version : apt-spy


TRN
06-15-2003, 09:11 AM
apt-spy is a cool little tool to test bandwidth connections to different debian mirrors. It will then build suggested sources.

As root,

#apt-spy -d unstable -a North-America -e 10 -o /etc/apt/newsources.list

This will place the best guess mirrors into the file /etc/apt/newsources.list.

-d option
Decide the Debian distribution: `stable',`testing' or `unstable'

-a option
This is the area option (your location). `Africa', `Asia',`Europe', 'North-America', `Oceania' and `South-America'

-e option
This is the number of servers to test.

-o option
This will place the best guess mirrors into the file /etc/apt/newsources.list.

As always, don't forget to check the man pages.