I'm running Ubuntu 12.04 Server (guest machine) on VirtualBox having Windows 7 as host machine.
I tried to get updates through sudo apt-get update
command but i end-up with the following error codes :-
Err http://in.archive.ubuntu.com precise Release.gpg
Temporary failure resolving 'in.archive.ubuntu.com'
Err http://security.ubuntu.com precise-security Release.gpg
Temporary failure resolving 'security.ubuntu.com'
Err http://in.archive.ubuntu.com precise-updates Release.gpg
Temporary failure resolving 'in.archive.ubuntu.com'
Err http://in.archive.ubuntu.com precise-backports Release.gpg
Temporary failure resolving 'in.archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg
Temporary failure resolving 'in.archive.ubuntu.com'
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/precise-updates/Release.gpg
Temporary failure resolving 'in.archive.ubuntu.com'
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/precise-backports/Release.gpg
Temporary failure resolving 'in.archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/Release.gpg
Temporary failure resolving 'security.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
I also tried the following things :-
1) Deleted the Virtual VM & installed it again.
2) Changed Network Adapter right from Host-Only to Briged.
3) I used sudo apt-get autoremove/remove/clean
commands which i get known while googling for the answer.
4) Editing the /etc/apt/sources.list file.
Please help me out because i want to do the updates & upgrades first before starting the other server things !!
Thanks in advance