Skip to content

Instantly share code, notes, and snippets.

@se35710
Created December 4, 2017 22:12
Show Gist options
  • Save se35710/9b524d0217ef81eed56cadbda8d24e00 to your computer and use it in GitHub Desktop.
Save se35710/9b524d0217ef81eed56cadbda8d24e00 to your computer and use it in GitHub Desktop.
Replace archive.ubuntu.com in sources.list with fastest mirror
sed -i 's/http:\/\/archive.ubuntu.com\/ubuntu\//mirror:\/\/mirrors.ubuntu.com\/mirrors.txt/g' /etc/apt/sources.list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment