Score:0

What's the Download server in Ubuntu (software & updates) and does it make difference if I change it?

cn flag

I have Ubuntu 20.04.3LTS.

Recently I have been facing an error that pops up all the time as a notification. I didn't understand what it is but apparently it has to do with the "software and updates download server".

I am not in the USA but I have the option to change it to the USA server or the main server (no I idea what it means by main).

Could anyone explain to me briefly what change exactly happens when I change the download server and what does it actually does?

Nmath avatar
ng flag
If you would like us to explain an error, the best thing you can do is copy/paste the error along with the steps needed to reproduce the error!
pLumo avatar
in flag
You should tell us about the error. Do not trap into the [XY-Problem](https://meta.stackexchange.com/questions/66377/what-is-the-xy-problem).
Ahmad Bader avatar
cn flag
My objective from this question was to know what's the download server. Regarding the error, it was solved when I change the server and I don't remember the exact error message.
Score:1
my flag

What is a download server?

In Ubuntu, the software that makes up the system itself, as well as many of the extra applications you can install, are downloaded from repositories by a package manager (probably APT). Ubuntu folks upload the packages they maintain and updates them to these repositories on Canonical's main server.

The main server is one of the many download servers available for the Ubuntu repositories. Download requests vary, servers can go down, and also, physical distance from the server has some effect on speed, so to help everyone get better download speeds, there are download servers with regularly updated copies of the Ubuntu repositories all over the world. These are commonly called "mirrors".

What does this mean for my system?

Sometimes APT is slow because of a problem with your internet connection, but sometimes it is the fault of the server.

By default, the APT configuration that gets set up when you install Ubuntu uses the mirror that it thinks is closest to your location. Sometimes, the local mirror may be less reliable or slower than the main server, so some people prefer to switch to the main server to try to get better speeds (or back again if there's no improvement).

In the Software Settings, you can see whether your system is configured to use the main server or a local one, or some other mirror. You can also take a look at the file that configures this, /etc/apt/sources.list (you can use less /etc/apt/sources.list to read the file in a terminal). If you are using the main server, it will have lines like this:

deb http://archive.ubuntu.com/ubuntu/ ...

and if you're using a different mirror, there will be a different URL there.

What will happen if I change the download server?

Mirrors should have the same or almost the same repository contents as the main server. Things probably won't change much, unless one or other of the servers is having problems. You might see

  • Changes in the output of apt update and the speed at which it runs
  • Changes in the download speed.
  • Small changes in the package versions available

What should I do then?

I would recommend clicking on "select the best server". If this doesn't solve your problem, try switching between "Main server", your country's server, and servers in nearby countries.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.