Ubuntu 16.04:Temporary failure resolving 'security.ubuntu.com'

网友投稿 1146 2022-11-08

Ubuntu 16.04:Temporary failure resolving 'security.ubuntu.com'

Ubuntu 16.04:Temporary failure resolving 'security.ubuntu.com'

今天早上对软件源进行更新的时候,发现出现了如下的错误:

W: Failed to fetch Temporary failure resolving 'security.ubuntu.com'W: Some index files failed to download. They have been ignored, or old ones used instead.

我的解决方法为:

echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/nullsudo apt-get update

然后就一切正常了,我的输出为:

idc@idc-Precision-Tower-7910:~/Downloads/DeepMIML$ sudo apt-get updateHit:1 xenial InRelease Hit:2 xenial-updates InRelease Hit:3 xenial-backports InRelease Hit:4 xenial InRelease Hit:5 xenial InRelease Ign:6 stable InRelease Hit:7 stable Release Get:9 xenial-security InRelease [102 kB] Ign:10 stable InRelease Ign:11 preview InRelease Hit:12 stable Release Get:9 xenial-security InRelease [102 kB]Hit:14 preview Release Get:16 xenial-security/main amd64 DEP-11 Metadata [62.3 kB]Get:17 xenial-security/main DEP-11 64x64 Icons [62.1 kB]Get:18 xenial-security/universe amd64 DEP-11 Metadata [51.3 kB]Get:19 xenial-security/universe DEP-11 64x64 Icons [80.2 kB]Fetched 303 kB in 2min 58s (1,703 B/s) Reading package lists... Done

参考文献

[1].apt-get update fails to fetch files, “Temporary failure resolving …” error.https://askubuntu.com/questions/91543/apt-get-update-fails-to-fetch-files-temporary-failure-resolving-error

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:使用Filter过滤器中访问getSession()要转化
下一篇:Docker与CI持续集成/CDDocker与CI持续集成/CD
相关文章

 发表评论

暂时没有评论,来抢沙发吧~