Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm following this tutorial to set up a bridge on my ubuntu virtual machine (on virtualbox) so that the vm will register on my home network.

But I'm stuck at line 1. It stays at 0%, then tells me it can't connect to that url.

sudo apt-get update

Is this an outdated tutorial? I'm using the latest Ubuntu on virtualbox.

share|improve this question
what version of ubuntu are you using? Also could you add the contents of /etc/apt/sources.list – Hamish Downer Jul 25 '10 at 16:05

The article you are using to bridge connections is working and not old. The only problem is that it assumes your PC is not connected to the Internet but it tries to download bridge-utils package from Internet.

You can solve this problem by typing the following code in another PC running the same OS version with the same architecture (maybe the OS behind the VM in your case)

sudo apt-get update
sudo apt-get install bridge-utils

...and then copying the '/var/cache/apt/archives' contents of that machine to the same address of the machine (VM) you are trying to bridge connections on.

share|improve this answer
The problem is that the host OS is different from the VM OS. Any other ways to get the VM connected to the network? – drums Jul 26 '10 at 7:52

Your Answer


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