Categories

Saturday, 31 March 2012

Apt-get error in debian

If you get the following error during apt-get commands
apt-get update

rr http://gb.archive.ubuntu.com natty-backports Release.gpg
  Temporary failure resolving ‘gb.archive.ubuntu.com’
 
Then there is a name server issue.The source list is not correctly resolving.So you have to check the DNS settings or name server settings in /etc/resolv.conf
 
So open /etc/resolv.conf in your editor and add nameserver 

nameserver 8.8.8.8
 
 
Then use the command apt-get
 
This would probably resolv the issue.
 
 
 
 

No comments:

Post a Comment

Ad