• #til
#TIL : Improve apt package manager speed by changing source list mirrors
Sometimes, you ran into issues that apt update package list so slow or even can not connect to the destination server.
You can change the default list into new one near your country. Get example : if you live in ASIA, choose the Singapore or Japan mirror instead of main mirror. you just change the "archive.ubuntu.com" and "security.ubuntu.com" to "[country_code].archive.ubuntu.com" in file list /etc/apt/sources.list
Then run sudo apt update to test your new mirror :)
TIP : you can generate the new source list file based on this online tool : https://repogen.simplylinux.ch/generate.php
Enjoyed this post?
If you found this helpful, consider sharing it or leaving a kudo!
0 kudos