ubuntu16.04更新源问题 apt-get update

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
Roberte_Wang
帖子: 2
注册时间: 2018-05-28 12:31
系统: Ubuntu

ubuntu16.04更新源问题 apt-get update

#1

帖子 Roberte_Wang » 2018-05-29 8:07

apt-get update结果
错误:1 http://archive.ubuntu.com/ubuntu xenial InRelease
暂时不能解析域名“archive.ubuntu.com”
错误:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
暂时不能解析域名“security.ubuntu.com”
错误:3 http://archive.ubuntukylin.com:10006/ubuntukylin trusty InRelease
暂时不能解析域名“archive.ubuntukylin.com”
错误:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
暂时不能解析域名“archive.ubuntu.com”
错误:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial InRelease
Could not resolve host: mirrors.tuna.tsinghua.edu.cn
错误:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-updates InRelease
Could not resolve host: mirrors.tuna.tsinghua.edu.cn
错误:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-backports InRelease
Could not resolve host: mirrors.tuna.tsinghua.edu.cn
错误:8 https://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial-security InRelease
Could not resolve host: mirrors.tuna.tsinghua.edu.cn
正在读取软件包列表... 完成
W: 无法下载 https://mirrors.tuna.tsinghua.edu.cn/ub ... /InRelease Could not resolve host: mirrors.tuna.tsinghua.edu.cn
W: 无法下载 https://mirrors.tuna.tsinghua.edu.cn/ub ... /InRelease Could not resolve host: mirrors.tuna.tsinghua.edu.cn
W: 无法下载 https://mirrors.tuna.tsinghua.edu.cn/ub ... /InRelease Could not resolve host: mirrors.tuna.tsinghua.edu.cn
W: 无法下载 https://mirrors.tuna.tsinghua.edu.cn/ub ... /InRelease Could not resolve host: mirrors.tuna.tsinghua.edu.cn
W: 无法下载 http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease 暂时不能解析域名“archive.ubuntu.com”
W: 无法下载 http://security.ubuntu.com/ubuntu/dists ... /InRelease 暂时不能解析域名“security.ubuntu.com”
W: 无法下载 http://archive.ubuntu.com/ubuntu/dists/ ... /InRelease 暂时不能解析域名“archive.ubuntu.com”
W: 无法下载 http://archive.ubuntukylin.com:10006/ub ... /InRelease 暂时不能解析域名“archive.ubuntukylin.com”
W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。

resovl.conf:

nameserver 8.8.8.8
nameserver 119.6.6.6
nameserver 114.114.114.114
# Generated by NetworkManager
头像
九天星
帖子: 1440
注册时间: 2007-07-14 20:45

Re: ubuntu16.04更新源问题 apt-get update

#2

帖子 九天星 » 2018-05-29 9:41

DNS问题,换个国内的再试试
Roberte_Wang
帖子: 2
注册时间: 2018-05-28 12:31
系统: Ubuntu

Re: ubuntu16.04更新源问题 apt-get update

#3

帖子 Roberte_Wang » 2018-05-29 9:45

九天星, 不知道换成什么
头像
九天星
帖子: 1440
注册时间: 2007-07-14 20:45

Re: ubuntu16.04更新源问题 apt-get update

#4

帖子 九天星 » 2018-05-29 22:16

第一个:119.6.6.6

第二个:221.10.1.1

第三个:221.10.112.5
回复