Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
1  
Can you contact anything on the internet (like ping google.com) –  Zypher Oct 31 '11 at 23:52

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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