1

I've been trying to update my Ubuntu 20.04 server and have been getting this:

mike@:~$ sudo apt update
Err:1 http://za.archive.ubuntu.com/ubuntu focal InRelease
  Could not connect to za.archive.ubuntu.com:80 (197.155.77.2). - connect (111: Connection refused) Could not connect to za.archive.ubuntu.com:80 (2c0f:fe40:8001:10::2). - connect (101: Network is unreachable)
Err:2 http://za.archive.ubuntu.com/ubuntu focal-updates InRelease
  Unable to connect to za.archive.ubuntu.com:http:
Err:3 http://za.archive.ubuntu.com/ubuntu focal-backports InRelease
  Unable to connect to za.archive.ubuntu.com:http:
Err:4 http://za.archive.ubuntu.com/ubuntu focal-security InRelease
  Unable to connect to za.archive.ubuntu.com:http:
Reading package lists... Done                          
Building dependency tree       
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/dists/focal/InRelease  Could not connect to za.archive.ubuntu.com:80 (197.155.77.2). - connect (111: Connection refused) Could not connect to za.archive.ubuntu.com:80 (2c0f:fe40:8001:10::2). - connect (101: Network is unreachable)
W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease  Unable to connect to za.archive.ubuntu.com:http:
W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease  Unable to connect to za.archive.ubuntu.com:http:
W: Failed to fetch http://za.archive.ubuntu.com/ubuntu/dists/focal-security/InRelease  Unable to connect to za.archive.ubuntu.com:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.

Does anyone know what's going on? Is it just the South African archive? It's been two days now. Thanks.

Soren A
  • 6,799
LeafHead
  • 647
  • 2
  • 12
  • 26

2 Answers2

0

It looks like the archive at za.archive.ubuntu.com is currently down.

I've resolved this for myself using these two methods:

  1. Edit /etc/apt/sources.list as mentioned in the comment by @ByronTaaka.
  2. Use apt-select as described in the article How to Find Best Ubuntu APT Repository Mirror.

Using method 2, it modified /etc/apt/sources.list and pointed all references to http://ftp.leg.uct.ac.za. I'm based in Cape Town so this works well for me.

0

za.archive.ubuntu.com is back up. In the interim I stopped using mirrors, but have found a few that had continued to work. among them: mirror.wiru.co.za and ftp.leg.uct.ac.za (as mentioned by Jonathan above).

I have found no explanation for what happened, or why it was down for so long.

LeafHead
  • 647
  • 2
  • 12
  • 26