Ubuntu 20.04.1 LTS sudo apt-get update Errors (Connection failed)

Asked by Sajid Ali on 2020-11-16

Dear all,
I have problems while doing "sudo apt-get update". Could you please help!
Output of the command is:

(base) sajid@sajid-Lenovo-Yoga-500-15ISK:~$ sudo apt-get update
[sudo] password for sajid:
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Err:2 http://archive.ubuntu.com/ubuntu focal InRelease
  Connection failed [IP: 91.189.88.152 80]
Err:3 http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu focal InRelease
  Connection failed [IP: 91.189.95.83 80]
Err:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease
  Connection failed [IP: 91.189.88.152 80]
Err:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease
  Connection failed [IP: 91.189.88.152 80]
Err:6 http://archive.ubuntu.com/ubuntu focal-security InRelease
  Connection failed [IP: 91.189.88.152 80]
Hit:7 https://download.sublimetext.com apt/stable/ InRelease
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease Connection failed [IP: 91.189.88.152 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease Connection failed [IP: 91.189.88.152 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease Connection failed [IP: 91.189.88.152 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-security/InRelease Connection failed [IP: 91.189.88.152 80]
W: Failed to fetch http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu/dists/focal/InRelease Connection failed [IP: 91.189.95.83 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2020-11-16
Last reply:
2020-12-01

This question was reopened

Sajid Ali (sajidali1610) said : #1

ping 8.8.8.8 is working. I also tried to change the download server from "Software & Updates". All in vain!

Manfred Hampl (m-hampl) said : #2

The messages "Connection failed" indicate that there was a network access problem.

For diagnostic purposes please provide the output of the following commands:

uname -a
lsb_release -crid

Can you access the server http://archive.ubuntu.com/ubuntu with your web browser?

If you change the repository server to a local one (see e.g. https://www.ubuntubuzz.com/2018/03/how-to-change-ubuntu-repository-mirror-sources.html ), do you still receive error messages? If yes, then please copy/paste the messages into this question document.

Launchpad Janitor (janitor) said : #3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.