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
2001:41c9:1:3ce::11
is down. Also make sure your IPV6 is working properly or try IPV4(101: Network is unreachable) [IP: 2001:41c9:1:3ce::11 80]
<-- that is IPv6 Why is it there? Something must have enabled or cahced IPv6 addresses. Ping Google and you have149.3.177.90
which tells me that you have NO IPv6, just as you said too.. so why is apt trying to connect to IPv6? :) You see. Off the top of my head I dont know my self, otherwise i would anser