码迷,mamicode.com
首页 > 其他好文 > 详细

apt-get Unable to fetch some archives

时间:2014-12-25 18:26:17      阅读:306      评论:0      收藏:0      [点我收藏+]

标签:

报错:

E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-dev_2.19-10ubuntu2.2_amd64.deb  Could not resolve ‘archive.ubuntu.com‘


E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc-dev-bin_2.19-10ubuntu2.2_amd64.deb  Could not resolve ‘archive.ubuntu.com‘


E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6_2.19-10ubuntu2.2_amd64.deb  Could not resolve ‘archive.ubuntu.com‘


E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-dbg_2.19-10ubuntu2.2_amd64.deb  Could not resolve ‘archive.ubuntu.com‘


E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

解决方法:
root@node3:~/mycode# vim /etc/resolv.conf 

添加nameserver 8.8.8.8

apt-get Unable to fetch some archives

标签:

原文地址:http://blog.csdn.net/uj_mosquito/article/details/42148623

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!