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 (184.108.40.206), 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”
When we tried to access in.archive.ubuntu.com from browser, it was simply not responsive, the also the IP as listed in error, 220.127.116.11 ( 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
and then if we do “apt-get update” or install any new package, everything works fine.
2 thoughts on “Solved: Cannot initiate the connection to in.archive.ubuntu.com:80”
That did it for me after a whole afternoon of trying.
I am disappointed at Canonical not fixing such a simple domain name error.