apt-get update timing out

Noah noah-list at enabled.com
Sat Nov 20 13:04:54 UTC 2021


Hi,

It'd be wonderful to get a better understanding of a good solution please.

Apt-get update timing out.  Are the archive hosts blocking port 80?

sudo apt-get update
Err:1 http://archive.ubuntu.com/ubuntu focal InRelease
   Could not connect to archive.ubuntu.com:80 (91.189.88.152), 
connection timed out Could not connect to archive.ubuntu.com:80 
(91.189.88.142), connection timed out
Err:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
   Unable to connect to archive.ubuntu.com:http:
Err:3 http://archive.ubuntu.com/ubuntu focal-security InRelease
   Unable to connect to archive.ubuntu.com:http:
Err:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
   Unable to connect to archive.ubuntu.com:http:
Err:5 http://archive.canonical.com/ubuntu focal InRelease
   Could not connect to archive.canonical.com:80 (91.189.92.191), 
connection timed out Could not connect to archive.canonical.com:80 
(91.189.92.150), connection timed out Could not connect to 
archive.canonical.com:80 (91.189.91.15), connection timed out
Reading package lists... Done
W: Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/focal/InRelease  Could not 
connect to archive.ubuntu.com:80 (91.189.88.152), connection timed out 
Could not connect to archive.ubuntu.com:80 (91.189.88.142), connection 
timed out
W: Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease  Unable 
to connect to archive.ubuntu.com:http:
W: Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/focal-security/InRelease  Unable 
to connect to archive.ubuntu.com:http:
W: Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease  Unable 
to connect to archive.ubuntu.com:http:
W: Failed to fetch 
http://archive.canonical.com/ubuntu/dists/focal/InRelease  Could not 
connect to archive.canonical.com:80 (91.189.92.191), connection timed 
out Could not connect to archive.canonical.com:80 (91.189.92.150), 
connection timed out Could not connect to archive.canonical.com:80 
(91.189.91.15), connection timed out
W: Some index files failed to download. They have been ignored, or old 
ones used instead.

❯ cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe 
multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe 
multiverse

deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted 
universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted 
universe multiverse

deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted 
universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted 
universe multiverse

deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted 
universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-backports main 
restricted universe multiverse

deb http://archive.canonical.com/ubuntu focal partner
deb-src http://archive.canonical.com/ubuntu focal partner

nmap 69.164.223.40
Starting Nmap 7.80 ( https://nmap.org ) at 2021-11-20 12:50 UTC
Nmap scan report for nb-69-164-223-40.newark.nodebalancer.linode.com 
(69.164.223.40)
Host is up (0.073s latency).
Not shown: 995 closed ports
PORT     STATE    SERVICE
22/tcp   open     ssh
25/tcp   filtered smtp
80/tcp   filtered http
873/tcp  open     rsync
8080/tcp open     http-proxy

nmap 91.189.88.152
Starting Nmap 7.80 ( https://nmap.org ) at 2021-11-20 13:02 UTC
Nmap scan report for actiontoad.canonical.com (91.189.88.152)
Host is up (0.13s latency).
Not shown: 991 closed ports
PORT     STATE    SERVICE
21/tcp   open     ftp
22/tcp   open     ssh
25/tcp   filtered smtp
80/tcp   filtered http
646/tcp  filtered ldp
873/tcp  open     rsync
5666/tcp open     nrpe
8080/tcp open     http-proxy
9103/tcp open     jetdirect



Cheers







More information about the ubuntu-users mailing list