apt-get update 101错误解决办法
在一次装好Ubuntu系统, 执行 sudo apt-get update 时,报了错 " W : Failed to fetch http : //security.ubuntu.com/ubuntu/dists/raring-security/Release.gpg Cannot initiate the connection to security.ubuntu.com:80 (2001:67c:1562::13). - connect (101: Network is unreachable) [IP: 2001:67c:1562::13 80] " 一开始以为是 Ubuntu默认的源访问不到 ,于是通过编辑文件 /etc/apt/sources.list,修改源的方式,尝试去解决问题 先备份sources.list文件,然后把原来的sources.list的文件改为一下内容 deb http: // mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb http: // mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb http: // mirrors.aliyun