Sudo Apt Upgrade Error

Asked by Parvinder Singh on 2020-06-26

I am a new user using linux. Everything was working fine I was able to update and upgrade but now I am getting this error while I do update or upgrade. Please help

home@home-PC:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-5.4.0-39 linux-headers-5.4.0-39-generic
  linux-image-5.4.0-39-generic linux-modules-5.4.0-39-generic
The following packages will be upgraded:
  gjs libcurl3-gnutls libcurl4 libgjs0g linux-generic-hwe-20.04
  linux-headers-generic-hwe-20.04 linux-image-generic-hwe-20.04 linux-libc-dev
9 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,005 kB/76.5 MB of archives.
After this operation, 359 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 focal-updates/main amd64 openssh-client amd64 1:8.2p1-4ubuntu0.1
  Could not connect to (, connection timed out
Err:2 focal-updates/main amd64 libgjs0g amd64 1.64.3-1~ubuntu20.04.1
  Unable to connect to
Err:3 focal-updates/main amd64 gjs amd64 1.64.3-1~ubuntu20.04.1
  Unable to connect to
E: Failed to fetch Could not connect to (, connection timed out
E: Failed to fetch Unable to connect to
E: Failed to fetch Unable to connect to
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:
Manfred Hampl (m-hampl) said : #1

Could not connect to (, connection timed out

Apparently there was a network problem.

Are you able to access with your web browser?

If you run:

sudo apt update

Does it connect OK now? Do you use a proxy for Web access?

Manfred Hampl (m-hampl) said : #3

It seems that the Indian country mirror is down since yesterday
The responsibility probably is within

Suggestion for a workaround:
Start update-manager and in the settings select a different mirror in your vicinity.
You can use for a list of mirrors and their status.

Can you help with this problem?

Provide an answer of your own, or ask Parvinder Singh for more information if necessary.

To post a message you must log in.