在 Ubuntu 20.04 下,我得到了经常报告的
Err:10 http://dl.google.com/linux/chrome/deb stable InRelease
Cannot initiate the connection to dl.google.com:80 (2800:3f0:4002:802::200e). - connect (101: Network is unreachable) Could not connect to dl.google.com:80 (172.217.172.78), connection timed out
Reading package lists... Done
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease Cannot initiate the connection to dl.google.com:80 (2800:3f0:4002:802::200e). - connect (101: Network is unreachable) Could not connect to dl.google.com:80 (172.217.172.78), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
通常的解决方案不适用,因为我已经为 64 位 chrome 配置了:
$ cat /etc/apt/sources.list.d/google-chrome.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
我想也许我的钥匙错了,所以我尝试了(参考)
$ curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:11 --:--:-- 0
curl: (7) Failed to connect to packages.cloud.google.com port 443: Connection timed out
gpg: no valid OpenPGP data found.
这是唯一失败的回购。我没有找到问题/解决方案的其他潜在原因。
我该如何解决这个问题?
显然(对我来说很奇怪),罪魁祸首是我路由器中的 URL 过滤器
http://www.youtube.com
。