Last active
June 10, 2024 15:36
-
-
Save PeteLawrence/9052977 to your computer and use it in GitHub Desktop.
The standard /etc/apt/sources.list file points to us.archive.ubuntu.com, which in my experience is pretty slow. This command will replace the contents of sources.list, and will tell apt-get to select a better mirror
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat >/etc/apt/sources.list << EOL | |
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty main restricted universe multiverse | |
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-updates main restricted universe multiverse | |
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-backports main restricted universe multiverse | |
deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-security main restricted universe multiverse | |
EOL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment