I have ubuntu 15.04 on my PC and I have issues everytime I make an update or I install packets mirrors are so slow and it's almost impossible to download with an average speed of 20 KB/s.

I've tried to switch to other mirrors and test them until I find one that boosts up the download speed (all the servers have the same speed most of the time) but this method is a real time wasting one.

How can I automatize the selection of the fastest mirror for apt ? is there a script to ping mirrors and select the best one temporary ?



Check out the answer here: https://askubuntu.com/a/141536/38557. It's a bit long but should do exactly what you're trying to achieve.

  • I saw this but netselect will rank mirrors by to latency not according to their download speed. – storm Sep 20 '15 at 14:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.