Apt-get does not work
Posted: Wed Jul 20, 2016 11:47 pm
I received my NanoPi NEO in today. After booting i did a apt-get update and I get the following errors.
I can connect to it, and ping google.com ok. Whats the problem ?
root@FriendlyARM:~#apt-get update
Err http://ports.ubuntu.com wily InRelease
Err http://ports.ubuntu.com wily-updates InRelease
Err http://ports.ubuntu.com wily-security InRelease
Err http://ports.ubuntu.com wily Release.gpg
Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
Err http://ports.ubuntu.com wily-updates Release.gpg
Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
Err http://ports.ubuntu.com wily-security Release.gpg
Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
Reading package lists... Done
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... /InRelease
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... /InRelease
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... /InRelease
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... elease.gpg Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... elease.gpg Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... elease.gpg Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@FriendlyARM:~# apt-get update
Err http://ports.ubuntu.com wily InRelease
Err http://ports.ubuntu.com wily-updates InRelease
Err http://ports.ubuntu.com wily-security InRelease
Err http://ports.ubuntu.com wily Release.gpg
Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
Err http://ports.ubuntu.com wily-updates Release.gpg
Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
Err http://ports.ubuntu.com wily-security Release.gpg
Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
Reading package lists... Done
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... /InRelease
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... /InRelease
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... /InRelease
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... elease.gpg Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... elease.gpg Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... elease.gpg Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@FriendlyARM:~#
I can connect to it, and ping google.com ok. Whats the problem ?
root@FriendlyARM:~#apt-get update
Err http://ports.ubuntu.com wily InRelease
Err http://ports.ubuntu.com wily-updates InRelease
Err http://ports.ubuntu.com wily-security InRelease
Err http://ports.ubuntu.com wily Release.gpg
Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
Err http://ports.ubuntu.com wily-updates Release.gpg
Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
Err http://ports.ubuntu.com wily-security Release.gpg
Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
Reading package lists... Done
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... /InRelease
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... /InRelease
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... /InRelease
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... elease.gpg Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... elease.gpg Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... elease.gpg Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@FriendlyARM:~# apt-get update
Err http://ports.ubuntu.com wily InRelease
Err http://ports.ubuntu.com wily-updates InRelease
Err http://ports.ubuntu.com wily-security InRelease
Err http://ports.ubuntu.com wily Release.gpg
Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
Err http://ports.ubuntu.com wily-updates Release.gpg
Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
Err http://ports.ubuntu.com wily-security Release.gpg
Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
Reading package lists... Done
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... /InRelease
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... /InRelease
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... /InRelease
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... elease.gpg Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... elease.gpg Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/di ... elease.gpg Cannot initiate the connection to ports.ubuntu.com:80 (2001:67c:1360:8001:1::2). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8001:1::2 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@FriendlyARM:~#