全球主机交流论坛

标题: 现在新开通的VPS无法访问外网? [打印本页]

作者: nyllong    时间: 2011-3-11 18:48
标题: 现在新开通的VPS无法访问外网?
我靠啊!apt-get update 命令都无法执行了!
作者: nyllong    时间: 2011-3-11 19:37
o:~# apt-get update
Err http://security.debian.org squeeze/updates Release.gpg           
  Temporary failure resolving 'security.debian.org'
Err http://ftp.debian.org squeeze Release.gpg                        
  Temporary failure resolving 'ftp.debian.org'
Reading package lists... Done   
W: Failed to fetch http://ftp.debian.org/debian/dists/squeeze/Release.gpg  Temporary failure resolving 'ftp.debian.org'

W: Failed to fetch http://security.debian.org/dists/squeeze/updates/Release.gpg  Temporary failure resolving 'security.debian.org'

W: Some index files failed to download, they have been ignored, or old ones used instead.
作者: Yikmings    时间: 2011-3-11 21:03
重新安網 OS 吧!
作者: feiyd    时间: 2011-3-11 21:25
echo  '8.8.8.8' >>/etc/resolv.conf
作者: nyllong    时间: 2011-3-11 22:35
标题: 回复 3# 的帖子
已经重新安装了多次。。debian5 x86---x64 , debian6
作者: nyllong    时间: 2011-3-11 22:36
标题: 回复 4# 的帖子
需要重启么??


root@66o:~# echo  '8.8.8.8' >>/etc/resolv.conf
root@66o:~#  apt-get update
Err http://security.debian.org squeeze/updates Release.gpg           
  Temporary failure resolving 'security.debian.org'
Err http://ftp.debian.org squeeze Release.gpg                        
  Temporary failure resolving 'ftp.debian.org'
Reading package lists... Done   
W: Failed to fetch http://ftp.debian.org/debian/dists/squeeze/Release.gpg  Temporary failure resolving 'ftp.debian.org'

W: Failed to fetch http://security.debian.org/dists/squeeze/updates/Release.gpg  Temporary failure resolving 'security.debian.org'

W: Some index files failed to download, they have been ignored, or old ones used instead.




欢迎光临 全球主机交流论坛 (https://lilynana.eu.org/) Powered by Discuz! X3.4