Automatizing apt-mirrors selection
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 ?
Thanks.
networking updates downloads apt-mirror
add a comment |
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 ?
Thanks.
networking updates downloads apt-mirror
1
possible duplicate of How do you select the fastest mirror from the command line?
– mikewhatever
Sep 20 '15 at 14:42
I've tried thenetselect
based solution, it's not what I'm looking for as it's selects a mirror by latency ( the closest one ) not the one with better bandwidth
– storm
Sep 20 '15 at 15:01
add a comment |
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 ?
Thanks.
networking updates downloads apt-mirror
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 ?
Thanks.
networking updates downloads apt-mirror
networking updates downloads apt-mirror
asked Sep 20 '15 at 14:35
stormstorm
4,02032335
4,02032335
1
possible duplicate of How do you select the fastest mirror from the command line?
– mikewhatever
Sep 20 '15 at 14:42
I've tried thenetselect
based solution, it's not what I'm looking for as it's selects a mirror by latency ( the closest one ) not the one with better bandwidth
– storm
Sep 20 '15 at 15:01
add a comment |
1
possible duplicate of How do you select the fastest mirror from the command line?
– mikewhatever
Sep 20 '15 at 14:42
I've tried thenetselect
based solution, it's not what I'm looking for as it's selects a mirror by latency ( the closest one ) not the one with better bandwidth
– storm
Sep 20 '15 at 15:01
1
1
possible duplicate of How do you select the fastest mirror from the command line?
– mikewhatever
Sep 20 '15 at 14:42
possible duplicate of How do you select the fastest mirror from the command line?
– mikewhatever
Sep 20 '15 at 14:42
I've tried the
netselect
based solution, it's not what I'm looking for as it's selects a mirror by latency ( the closest one ) not the one with better bandwidth– storm
Sep 20 '15 at 15:01
I've tried the
netselect
based solution, it's not what I'm looking for as it's selects a mirror by latency ( the closest one ) not the one with better bandwidth– storm
Sep 20 '15 at 15:01
add a comment |
1 Answer
1
active
oldest
votes
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
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f676310%2fautomatizing-apt-mirrors-selection%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
add a comment |
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
add a comment |
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.
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.
edited Apr 13 '17 at 12:25
Community♦
1
1
answered Sep 20 '15 at 14:50
labarnalabarna
1,70211325
1,70211325
I saw this but netselect will rank mirrors by to latency not according to their download speed.
– storm
Sep 20 '15 at 14:55
add a comment |
I saw this but netselect will rank mirrors by to latency not according to their download speed.
– storm
Sep 20 '15 at 14:55
I saw this but netselect will rank mirrors by to latency not according to their download speed.
– storm
Sep 20 '15 at 14:55
I saw this but netselect will rank mirrors by to latency not according to their download speed.
– storm
Sep 20 '15 at 14:55
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f676310%2fautomatizing-apt-mirrors-selection%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
possible duplicate of How do you select the fastest mirror from the command line?
– mikewhatever
Sep 20 '15 at 14:42
I've tried the
netselect
based solution, it's not what I'm looking for as it's selects a mirror by latency ( the closest one ) not the one with better bandwidth– storm
Sep 20 '15 at 15:01