Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I do:

sudo apt-get install ssh

I get errors such as:

Could not connect to it.archive.ubuntu.com:80 (193.206.140.45) - connection timed out

I get similar errors for all other apt-get calls. This is with Ubuntu installed using virtual box on my Windows PC.

I'm working in the UK. Maybe these calls are going to the USA instead of UK (just a shot in the dark there).

share

migration rejected from stackoverflow.com Jun 6 at 14:13

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by terdon, MariusMatutiae, Breakthrough, Kevin Panko, Ƭᴇcʜιᴇ007 Jun 6 at 14:13

  • This question does not appear to be about computer software or computer hardware within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

    
Have you tried pointing to the UK repos? –  npinti Jun 4 at 9:17
    
Check network connectivity from your VM. Can you access the network at all. Also check if you need a proxy to access the internet. –  Douglas Leeder Jun 4 at 9:17
1  
Perhaps people at askubuntu.com can help you better, btw. –  Evert Jun 4 at 9:18
    
Duh! My pc was on a private network and so couldnt see the outside world –  ade Jun 4 at 10:38
4  
This question appears to be off-topic because the OP realized that the machine was not actually connected to the internet. –  terdon Jun 4 at 14:03

Browse other questions tagged or ask your own question.