Ubuntu – How to change repository mirror from commandline

aptmirrors

On the desktops, the package managers have convenient ways to change the sources.list for apt-get between different mirrors.

Is there a similar menu-kind of way of doing this from the command line (i.e. on a server)?

(I am not looking for answer like using sed or manually editing the sources.list file, I know how to do that. I am looking for some application that knows the addresses of the mirrors similar to the package manager GUIs).

Best Answer

For Debian there is apt-spy, maybe it's possible to adapt it to Ubuntu (it would need to use a different mirror list of course).

Related Question