Home » Errors & Failures » Package Installation Error » Solved: Cannot initiate the connection to in.archive.ubuntu.com:80

Solved: Cannot initiate the connection to in.archive.ubuntu.com:80

When we were trying to install a new package and needed to perform apt-get update, we got following error and apt-get update was not working,

E: Failed to fetch ...   Cannot initiate the connection to in.archive.ubuntu.com:80  - connect (101: Network is unreachable) Could not connect to in.archive.ubuntu.com:80 (43.255.166.254), connection timed out

So, primarily it shown 3 errors,

  • Cannot initiate the connection to in.archive.ubuntu.com
  • Network is unreachable
  • connection timed out

making it little difficult to resolve this issue. We verified our network using ping, but our network was pefectly working but still it was showing “Network is unreachable”

Solution :

When we tried to access in.archive.ubuntu.com from browser, it was simply not responsive, the also the IP as listed in error, 43.255.166.254 ( You may see different IP address if any such error comes ) was not pinging.

Hence the solution is to modify /etc/apt/sources.list and use the some working server URL.

So it work, we change

deb http://in.archive.ubuntu.com/ubuntu/

to

deb http://usa.archive.ubuntu.com/ubuntu/

and then if we do “apt-get update” or install any new package, everything works fine.


Subscribe our Rurban Life YouTube Channel.. "Rural Life, Urban LifeStyle"

2 thoughts on “Solved: Cannot initiate the connection to in.archive.ubuntu.com:80”

  1. Thanks!
    That did it for me after a whole afternoon of trying.
    I am disappointed at Canonical not fixing such a simple domain name error.

    Reply

Leave a Comment