Err http://br.archive.ubuntu.com trusty Release.gpg
Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
Err http://br.archive.ubuntu.com trusty-updates Release.gpg
Cannot initiate the connection to br.archive.ubuntu.com:80 (2801:82:80ff:8000::5). - connect (101: Network is unreachable) [IP: 2801:82:80ff:8000::5 80]
(...)
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::17). - connect (101: Network is unreachable) [IP: 2001:67c:1562::17 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@trusty-landscape-devel:~# echo $?
0
root@trusty-landscape-devel:~#
Actually, it's apt-get itself that is returning zero...:
root@trusty- landscape- devel:~ # iptables -A OUTPUT -p tcp --dport 80 -j REJECT landscape- devel:~ # apt-get update br.archive. ubuntu. com trusty InRelease
root@trusty-
Err http://
Err http:// br.archive. ubuntu. com trusty-updates InRelease
Err http:// br.archive. ubuntu. com trusty Release.gpg ubuntu. com:80 (2801:82: 80ff:8000: :5). - connect (101: Network is unreachable) [IP: 2801:82: 80ff:8000: :5 80] br.archive. ubuntu. com trusty-updates Release.gpg ubuntu. com:80 (2801:82: 80ff:8000: :5). - connect (101: Network is unreachable) [IP: 2801:82: 80ff:8000: :5 80] security. ubuntu. com/ubuntu/ dists/trusty- security/ Release. gpg Cannot initiate the connection to security. ubuntu. com:80 (2001:67c: 1562::17) . - connect (101: Network is unreachable) [IP: 2001:67c:1562::17 80]
Cannot initiate the connection to br.archive.
Err http://
Cannot initiate the connection to br.archive.
(...)
W: Failed to fetch http://
W: Some index files failed to download. They have been ignored, or old ones used instead. landscape- devel:~ # echo $? landscape- devel:~ #
root@trusty-
0
root@trusty-