美文网首页
Ubuntu 无法下载 http://dl.google.com

Ubuntu 无法下载 http://dl.google.com

作者: 103style | 来源:发表于2019-08-12 20:18 被阅读0次

转载请以链接形式标明出处:
本文出自:103style的博客

报错信息

无法下载 http://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Packages  
无法发起与 dl.google.com:80 (2404:6800:4005:805::200e) 的连接 - connect (101: 网络不可达)

则使用Ubuntu国内镜像: 镜像地址

sudo chmod -R 777 /etc/apt/sources.list
gedit /etc/apt/sources.list

添加上面链接中的镜像地址到最后。

然后注释掉 /etc/apt/sources.list.d/google-chrome.list中的源

sudo gedit /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

以上

相关文章

网友评论

      本文标题:Ubuntu 无法下载 http://dl.google.com

      本文链接:https://www.haomeiwen.com/subject/haepjctx.html