Score:-1

apt-get update is unable to connect to mirror

co flag

when I try sudo apt-get update this is the output:

Hit:1 http://ppa.launchpad.net/linuxuprising/java/ubuntu focal InRelease
Get:2 http://www.geogebra.net/linux stable InRelease [8.690 B]                 
Err:3 http://mirror.ipb.de/ubuntu focal InRelease                              
  Could not connect to mirror.ipb.de:80 (2a02:f28:2:0:194:29:226:88), connection timed out Could not connect to mirror.ipb.de:80 (194.29.226.88), connection timed out
Err:4 http://mirror.ipb.de/ubuntu focal-updates InRelease
  Unable to connect to mirror.ipb.de:http:
Err:5 http://mirror.ipb.de/ubuntu focal-backports InRelease
  Unable to connect to mirror.ipb.de:http:
Err:6 http://mirror.ipb.de/ubuntu focal-security InRelease
  Unable to connect to mirror.ipb.de:http:
Fetched 8.690 B in 31s (284 B/s)
Reading package lists... Done
W: Failed to fetch http://mirror.ipb.de/ubuntu/dists/focal/InRelease  Could not connect to mirror.ipb.de:80 (2a02:f28:2:0:194:29:226:88), connection timed out Could not connect to mirror.ipb.de:80 (194.29.226.88), connection timed out
W: Failed to fetch http://mirror.ipb.de/ubuntu/dists/focal-updates/InRelease  Unable to connect to mirror.ipb.de:http:
W: Failed to fetch http://mirror.ipb.de/ubuntu/dists/focal-backports/InRelease  Unable to connect to mirror.ipb.de:http:
W: Failed to fetch http://mirror.ipb.de/ubuntu/dists/focal-security/InRelease  Unable to connect to mirror.ipb.de:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.

How can I fix this?

ChanganAuto avatar
us flag
Change mirror or try again later.
Johan Palych avatar
us flag
Official Archive Mirrors for Ubuntu https://launchpad.net/ubuntu/+archivemirrors
Score:3
my flag

As already mentioned by mihaitzateo, sometimes the mirror you use don't work, there is nothing you could do in that case except changing the mirror or waiting for some time.

Note: The images are taken from external site(s).

To change the mirror server:

First, open the "Software and Updates" app from the Application launcher or simply run software-properties-gtk in the terminal.

After opening the application you will see 6 tabs and in each tab, a few options: enter image description here

Go to the "Ubuntu Software" tab. (the first one)

Then there you will see a bunch of options. There would be a drop-down menu there saying "Download from", Click on that.

It will look like this:

enter image description here

From there you could select "Main server" or the server you prefer. If you want to select a server in a country then you can go to "Other..." Tab and from there select the preferred server.

enter image description here

I would prefer clicking on "Select the best server".

Score:1
ru flag

Checking debian mirror status for your particular mirror shows that the server is down. You'd either have to wait for it to come back up or change the mirror using Software and updates. To do so, press super key or "Windows" key and type software & updates. You may see "Software updates" (grey icon) and "Software & updates" (pinkish purple icon). Choose Software & updates and you should have a drop down/select from which you can select your mirror site's location. Choose main server. You could also choose to add a different server from the list of servers at Ubuntu mirrors site though that has additional steps.

nobody avatar
gh flag
Nice for Debian but not for Ubuntu
FrankenCode avatar
ru flag
@nobody the debian mirror status site does show the status for the site that his device is using. The rest of the steps are for Ubuntu. If you're referring to the list of mirrors, I have updated that with a link
nobody avatar
gh flag
yes I meant the link. and no the downvote was not from me. :D
Score:-1
cn flag

This site, http://mirror.ipb.de/ is not currently working.
So the error is what is said there, is not working. Try an alternative , from where you can find the same packages.

Bibbedibob avatar
co flag
Thank you. How can I select another site and which one can I use? (I'm new to Linux)
mihaitzateo avatar
cn flag
https://askubuntu.com/questions/104695/how-do-i-change-mirrors-in-ubuntu-server-from-regional-to-main Is shown how to change both from graphical interface and command line.
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.