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
  linux-modules-extra-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
  openssh-client
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 http://in.archive.ubuntu.com/ubuntu focal-updates/main amd64 openssh-client amd64 1:8.2p1-4ubuntu0.1
  Could not connect to in.archive.ubuntu.com:80 (103.97.84.254), connection timed out
Err:2 http://in.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgjs0g amd64 1.64.3-1~ubuntu20.04.1
  Unable to connect to in.archive.ubuntu.com:http:
Err:3 http://in.archive.ubuntu.com/ubuntu focal-updates/main amd64 gjs amd64 1.64.3-1~ubuntu20.04.1
  Unable to connect to in.archive.ubuntu.com:http:
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/o/openssh/openssh-client_8.2p1-4ubuntu0.1_amd64.deb Could not connect to in.archive.ubuntu.com:80 (103.97.84.254), connection timed out
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/g/gjs/libgjs0g_1.64.3-1~ubuntu20.04.1_amd64.deb Unable to connect to in.archive.ubuntu.com:http:
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/g/gjs/gjs_1.64.3-1~ubuntu20.04.1_amd64.deb Unable to connect to in.archive.ubuntu.com:http:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
home@home-PC:~$

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2020-06-26
Last reply:
2020-06-27
Manfred Hampl (m-hampl) said : #1

Could not connect to in.archive.ubuntu.com:80 (103.97.84.254), connection timed out

Apparently there was a network problem.

Are you able to access http://in.archive.ubuntu.com/ubuntu 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 in.archive.ubuntu.com is down since yesterday
The responsibility probably is within estointernet.in

Suggestion for a workaround:
Start update-manager and in the settings select a different mirror in your vicinity.
You can use https://launchpad.net/ubuntu/+archivemirrors 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.