node package manager

ffum

Find Fastest Ubuntu Mirror

Install

$ npm install ffum

Run

$ ffum

Search & replace

$ sudo nano /etc/apt/sources.list