apt-spy

writes a sources.list file based on bandwidth tests

Debian Debian
RUN apt-get update && \ apt-get install -y apt-spy
Raspbian
RUN apt-get update && \ apt-get install -y apt-spy
click the source code to copy install apt-spy on any operating system with command-not-found.com