I'm getting a strange problem on my raspberry pi. I tried to install a program today using apt-get and I got this output:
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libcurl3 armhf 7.26.0-1+wheezy13
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2001:41c9:1:3ce::11). - connect (101: Network is unreachable) [IP: 2001:41c9:1:3ce::11 80]
Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main curl armhf 7.26.0-1+wheezy13
Cannot initiate the connection to mirrordirector.raspbian.org:80 (2001:41c9:1:3ce::11). - connect (101: Network is unreachable) [IP: 2001:41c9:1:3ce::11 80]
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/c/curl/libcurl3_7.26.0-1+wheezy13_armhf.deb Cannot initiate the connection to mirrordirector.raspbian.org:80 (2001:41c9:1:3ce::11). - connect (101: Network is unreachable) [IP: 2001:41c9:1:3ce::11 80]
Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/c/curl/curl_7.26.0-1+wheezy13_armhf.deb Cannot initiate the connection to mirrordirector.raspbian.org:80 (2001:41c9:1:3ce::11). - connect (101: Network is unreachable) [IP: 2001:41c9:1:3ce::11 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
The strange this is using ping to reach either the dns host or the ip works fine and I get normal responses.
The same thing applies if I want to get the content of google.com using wget, it remains stuck at
Resolving google.com (google.com)... 149.3.177.90, 149.3.177.86, 149.3.177.85, ...
Connecting to google.com (google.com)|149.3.177.90|:80...
forever but pinging works. How can I fix this?
The content of resolv.conf:
nameserver 192.168.1.1
nameserver 8.8.8.8