Looking around these forums and elsewhere I find that this is a common issue, however the proposed solutions have not been helpful and thus I ask in hopes that someone might be able to have the right solution.
I have an old IBM M2 server with Ubuntu 20.04 installed. I have tested that I can use curl
and ping
to different sources like Google and that works just fine. My server can clearly see the internet. But I cannot ping the ubuntu servers, however.
I've tried with ufw
enabled and disabled and it's the same either way.
The following errors show up when I attempt sudo apt-get update
:
sudo apt-get update
Err:1 http://dk.archive.ubuntu.com/ubuntu focal InRelease
Cannot initiate the connection to dk.archive.ubuntu.com:80 (2001:878:346::116). - connect (101: Network is unreachable) Could not connect to dk.archive.ubuntu.com:80 (130.225.254.116), connection timed out
Err:2 http://dk.archive.ubuntu.com/ubuntu focal-updates InRelease
Cannot initiate the connection to dk.archive.ubuntu.com:80 (2001:878:346::116). - connect (101: Network is unreachable)
Err:3 http://dk.archive.ubuntu.com/ubuntu focal-backports InRelease
Cannot initiate the connection to dk.archive.ubuntu.com:80 (2001:878:346::116). - connect (101: Network is unreachable)
Err:4 http://dk.archive.ubuntu.com/ubuntu focal-security InRelease
Cannot initiate the connection to dk.archive.ubuntu.com:80 (2001:878:346::116). - connect (101: Network is unreachable)
Reading package lists... Done
W: Failed to fetch http://dk.archive.ubuntu.com/ubuntu/dists/focal/InRelease Cannot initiate the connection to dk.archive.ubuntu.com:80 (2001:878:346::116). - connect (101: Network is unreachable) Could not connect to dk.archive.ubuntu.com:80 (130.225.254.116), connection timed out
W: Failed to fetch http://dk.archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease Cannot initiate the connection to dk.archive.ubuntu.com:80 (2001:878:346::116). - connect (101: Network is unreachable)
W: Failed to fetch http://dk.archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease Cannot initiate the connection to dk.archive.ubuntu.com:80 (2001:878:346::116). - connect (101: Network is unreachable)
W: Failed to fetch http://dk.archive.ubuntu.com/ubuntu/dists/focal-security/InRelease Cannot initiate the connection to dk.archive.ubuntu.com:80 (2001:878:346::116). - connect (101: Network is unreachable)
W: Some index files failed to download. They have been ignored, or old ones used instead.
I have not set up any sort of proxy. This server is running out of the box settings and so I am confused as to why apt-get update
(and also apt-get install
seems to have similar issues) just doesn't work.
Any ideas?