Trouble with dns and debian update

Posted by Sean on Server Fault See other posts from Server Fault or by Sean
Published on 2012-03-30T05:05:54Z Indexed on 2012/03/30 5:31 UTC
Read the original article Hit count: 488

Filed under:
|
|
|
|

I tried to update my debian dreamplug server with the command running as root apt-get update and recieved these errors.

Err http://security.debian.org lenny/updates Release.gpg                                                                                     

Could not resolve 'security.debian.org' Err htdtp://security.debian.org lenny/updates/main Translation-en_US
Could not resolve 'security.debian.org' Err htdtp://security.debian.org lenny/updates/contrib Translation-en_US
Could not resolve 'security.debian.org' Err htdtp://security.debian.org lenny/updates/non-free Translation-en_US
Could not resolve 'security.debian.org' Err httdp://www.backports.org lenny-backports Releasegpg
Could not resolve 'www.backports.org' Err httdp://www.backports.org lenny-backports/main Translation-en_US
Could not resolve 'www.backports.org' Err httdp://www.backports.org lenny-backports/contrib Translation-en_US
Could not resolve 'www.backports.org' Err httdp://www.backports.org lenny-backports/non-free Translation-en_US
Could not resolve 'www.backports.org' Err httdp://ftp.us.debian.org lenny Release.gpg
Could not resolve 'ftp.us.debian.org' Err httdp://ftp.us.debian.org lenny/main Translation-en_US
Could not resolve 'ftp.us.debian.org' Err httdp://ftp.us.debian.org lenny/contrib Translation-en_US
Could not resolve 'ftp.us.debian.org' Err httdp://ftp.us.debian.org lenny/non-free Translation-en_US
Could not resolve 'ftp.us.debian.org' Err httdp://http.us.debian.org stable Release.gpg
Could not resolve 'http.us.debian.org' Err htdtp://http.us.debian.org stable/main Translation-en_US
Could not resolve 'http.us.debian.org' Err httdp://http.us.debian.org stable/contrib Translation-en_US
Could not resolve 'http.us.debian.org' Err htdtp://http.us.debian.org stable/non-free Translation-en_US
Could not resolve 'http.us.debian.org' Reading package lists... Done
W: Failed to fetch ttp://ftp.us.debian.org/debian/dists/lenny/Release.gpg Could not resolve 'ftp.us.debian.org'

W: Failed to fetch ttp://ftp.us.debian.org/debian/dists/lenny/main/i18n/Translation-en_US.gz Could not resolve 'ftp.us.debian.org'

W: Failed to fetch ttp://ftp.us.debian.org/debian/dists/lenny/contrib/i18n/Translation-en_US.gz Could not resolve 'ftp.us.debian.org'

W: Failed to fetch ttp://ftp.us.debian.org/debian/dists/lenny/non-free/i18n/Translation-en_US.gz Could not resolve 'ftp.us.debian.org'

W: Failed to fetch ttp://http.us.debian.org/debian/dists/stable/Release.gpg Could not resolve 'http.us.debian.org'

W: Failed to fetch ttp://http.us.debian.org/debian/dists/stable/main/i18n/Translation-en_US.gz Could not resolve 'http.us.debian.org'

W: Failed to fetch ttp://http.us.debian.org/debian/dists/stable/contrib/i18n/Translation-en_US.gz Could not resolve 'http.us.debian.org'

W: Failed to fetch ttp://http.us.debian.org/debian/dists/stable/non-free/i18n/Translation-en_US.gz Could not resolve 'http.us.debian.org'

W: Failed to fetch ttp://security.debian.org/dists/lenny/updates/Release.gpg Could not resolve 'security.debian.org'

W: Failed to fetch ttp://security.debian.org/dists/lenny/updates/main/i18n/Translation-en_US.gz Could not resolve 'security.debian.org'

W: Failed to fetch ttp://security.debian.org/dists/lenny/updates/contrib/i18n/Translation-en_US.gz Could not resolve 'security.debian.org'

W: Failed to fetch ttp://security.debian.org/dists/lenny/updates/non-free/i18n/Translation-en_US.gz Could not resolve 'security.debian.org'

W: Failed to fetch ttp://www.backports.org/debian/dists/lenny-backports/Release.gpg Could not resolve 'www.backports.org'

W: Failed to fetch ttp://www.backports.org/debian/dists/lenny-backports/main/i18n/Translation-en_US.gz Could not resolve 'www.backports.org'

W: Failed to fetch ttp://www.backports.org/debian/dists/lenny-backports/contrib/i18n/Translation-en_US.gz Could not resolve 'www.backports.org'

W: Failed to fetch ttp://www.backports.org/debian/dists/lenny-backports/non-free/i18n/Translation-en_US.gz Could not resolve 'www.backports.org'

W: Some index files failed to download, they have been ignored, or old ones used instead. W: You may want to run apt-get update to correct these problems

I am able to ping ip addresses but not namespaces. Can't seem to figure out the problem. My /etc/resolv.conf file contains nameserver 192.168.1.2 which is my router.

© Server Fault or respective owner

Related posts about linux

Related posts about dns