0

Pop!_os wants to update packages but it can't properly fetch updates from https://archive.ubuntu.com/ubuntu focal InRelease

Detailed Error:

Failed to fetch https://archive.ubuntu.com/ubuntu/dists/focal/InRelease
Could not connect to archive.ubuntu.com:443 (91.189.88.152). - connect (111: Connection refused)
Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1360:8001::24). - connect (101: Network is unreachable)
Could not connect to archive.ubuntu.com:443 (91.189.88.142). - connect (111: Connection refused)
Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1360:8001::23). - connect (101: Network is unreachable)
Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::18). - connect (101: Network is unreachable)
Cannot initiate the connection to archive.ubuntu.com:443 (2001:67c:1562::15). - connect (101: Network is unreachable)

How do i Fix this error and what causes it?

Alex
  • 1,175

1 Answers1

1

When adding the repository to the sources.list, you added the URL to securely connect to the Ubuntu repository with https, but the repository does not support secure connection over TLS. They consider it enough that all packages are already signed, so you should use http instead.

It doesn't mean that apt doesn't support connection over TLS, but that particular repository does not support TLS connection anyway. You can verify it by trying the URL in a browser.