My Ubuntu is 14.04.
I try to update my packages by:
sudo apt-get update
Then it stuck at
100% [Connecting to dl.google.com (203.208.40.46)]
for several minutes. It is quite annoying.
I try to set a timeout for the connections How to lower wait time for repository updates.
After several seconds, it failed and end the process.
Err http://dl.google.com stable InRelease
Err http://dl.google.com stable Release.gpg
Cannot initiate the connection to dl.google.com:80 (2401:3800:4002:802::1005). - connect (101: Network is unreachable) [IP: 2401:3800:4002:802::1005 80]
Reading package lists... Done
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease
W: Failed to fetch http://build.openvpn.net/debian/openvpn/stable/dists/trusty/InRelease
W: Failed to fetch http://build.openvpn.net/debian/openvpn/stable/dists/trusty/Release.gpg Unable to connect to build.openvpn.net:http:
W: Failed to fetch http://ppa.launchpad.net/neovim-ppa/stable/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/neovim-ppa/stable/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg Cannot initiate the connection to dl.google.com:80 (2401:3800:4002:802::1005). - connect (101: Network is unreachable) [IP: 2401:3800:4002:802::1005 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
My location is China. I have Shadowsocks SOCKS5 system proxy and OpenVPN connecting to the same VPS server. I have tried turning off them both separately and together, but it did not work.
I wonder why this happen and how do I tackle it?
---update---
I could download the provided by @JonasCz.