PDA

View Full Version : [ubuntu] Configuring a local mirror



piriton
May 31st, 2012, 09:23 PM
Hey

I know that software center / select sources can configure my local country's repository, but I wondered if there was a command line tool which also modified sources.list by finding the fastest local mirror.

Or a tool to configure sources.list and specify my country as France.

I can search and replace us for fr, but would like to know if there is a tool to do this.

piriton
June 2nd, 2012, 12:44 AM
Is there any problem in using this solution ?



perl -pi-OLD -e 's/\/\/us\./\/\/fr\./g' /etc/apt/sources.list