apt-get 为什么会连接ipv6的地址更新软件包?
发表于 : 2015-12-09 16:26
我在公司的服务器上运行apt-get upgrade报如下错误,我没有ipv6的地址:
Failed to fetch http://security.ubuntu.com/ubuntu/dists ... elease.gpg Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) [IP: 2001:67c:1562::15 80]
关键是我再次执行命令,又成功执行,然后我建了一台虚拟机,不停进行apt-get upgrade,基本5次中会有一次去连接这个ipv6地址。。
但是我nslookup查找security.ubuntu.com的IP,每次都返回的是ipv4的地址
有人也遇到这个情况吗,有点郁闷,这种概率问题好难调查。
Failed to fetch http://security.ubuntu.com/ubuntu/dists ... elease.gpg Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::15). - connect (101: Network is unreachable) [IP: 2001:67c:1562::15 80]
关键是我再次执行命令,又成功执行,然后我建了一台虚拟机,不停进行apt-get upgrade,基本5次中会有一次去连接这个ipv6地址。。
但是我nslookup查找security.ubuntu.com的IP,每次都返回的是ipv4的地址
有人也遇到这个情况吗,有点郁闷,这种概率问题好难调查。