事情是这样的安装好debian的时候是可以上网的也可以update,安装了之后,就没有管了。。后来我登录了一下ssh,想wget一个东西,,然后就报错了。。说 找不到hostname,然后我执行 apt-get update 不行了。错误提示如下:
W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/main/i18n/Translation-en_US.gz Could not resolve 'ftp.us.debian.org'
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/Release.gpg Could not resolve 'security.debian.org'
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/i18n/Translation-en.gz Could not resolve 'security.debian.org'
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/i18n/Translation-en_US.gz Could not resolve 'security.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze-updates/Release.gpg Could not resolve 'ftp.us.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze-updates/main/i18n/Translation-en.gz Could not resolve 'ftp.us.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze-updates/main/i18n/Translation-en_US.gz Could not resolve 'ftp.us.debian.org'
W: Some index files failed to download, they have been ignored, or old ones used instead.
然后发了个TK过去问。。客服回复了一段话 我也不知道是什么意思。。顺带求翻译一下。。感谢。。
回复内容:
You need to replace the missing entries in /etc/resolv.conf that networkmanager *insists* on removing, this is why you should remove network manager and always manually configure networking.
求帮助 求解答。。真心感谢。。
@Js
@da_a
@lemonda
@marchtea
@thedevil5032
W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/main/i18n/Translation-en_US.gz Could not resolve 'ftp.us.debian.org'
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/Release.gpg Could not resolve 'security.debian.org'
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/i18n/Translation-en.gz Could not resolve 'security.debian.org'
W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/i18n/Translation-en_US.gz Could not resolve 'security.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze-updates/Release.gpg Could not resolve 'ftp.us.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze-updates/main/i18n/Translation-en.gz Could not resolve 'ftp.us.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze-updates/main/i18n/Translation-en_US.gz Could not resolve 'ftp.us.debian.org'
W: Some index files failed to download, they have been ignored, or old ones used instead.
然后发了个TK过去问。。客服回复了一段话 我也不知道是什么意思。。顺带求翻译一下。。感谢。。
回复内容:
You need to replace the missing entries in /etc/resolv.conf that networkmanager *insists* on removing, this is why you should remove network manager and always manually configure networking.
求帮助 求解答。。真心感谢。。
@Js
@da_a
@lemonda
@marchtea
@thedevil5032