网上添加的bazel包源
$ echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
会出现问题,连接不上网,报错如下
命中:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
命中:2 http://cn.archive.ubuntu.com/ubuntu bionic InRelease
命中:3 http://cn.archive.ubuntu.com/ubuntu bionic-updates InRelease
命中:4 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease
错误:5 http://storage.googleapis.com/bazel-apt stable InRelease
无法发起与 storage.googleapis.com:80 (2404:6800:4005:80f::2010) 的连接 - connect (101: 网络不可达) 无法连接上 storage.googleapis.com:80 (216.58.220.208),连接超时
正在读取软件包列表... 完成
W: 无法下载 http://storage.googleapis.com/bazel-apt/dists/stable/InRelease 无法发起与 storage.googleapis.com:80 (2404:6800:4005:80f::2010) 的连接 - connect (101: 网络不可达) 无法连接上 storage