其他分享
首页 > 其他分享> > apt-get update报“Temporary failure resolving ‘mirrors.ustc.edu.cn‘

apt-get update报“Temporary failure resolving ‘mirrors.ustc.edu.cn‘

作者:互联网

apt-get update报“Temporary failure resolving ‘mirrors.aliyun.com’"
解决办法:

1.打开/etc/resolv.conf;

$sudo vim /etc/resolv.conf

2.修改nameserver后的ip地址;

加入:

nameserver 8.8.8.8
nameserver 8.8.4.4

3.重起网络服务;

sudo /etc/init.d/network restart

标签:sudo,Temporary,cn,get,8.8,mirrors,apt,etc,nameserver
来源: https://blog.csdn.net/HandsomeHong/article/details/119105014