I've installed ubuntu server on a VirtualBox virtual machine and now I'm trying to follow a tutorial that says I need to install a package called csh. When I type this line

sudo apt-get install csh

I get "unable to locate package csh". This happens with all 4 other packages I tried to install. I'm not sure what I'm doing wrong. Perhaps the VM can't reach the Internet. How do I check, or troubleshoot this?

link|improve this question

67% accept rate
1  
Can you contact anything on the internet (like ping google.com) – Zypher Oct 31 '11 at 23:52
feedback

1 Answer

up vote 2 down vote accepted

Is this a brand new install? You should probably run apt-get update first, then apt-get install stuff.

If apt-get update fails, then the chances are, that your network configuration isn't letting you out onto the internets.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.