Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Following advice from another SU question (link) I apt-get remove'd dchp3-client from a virtual machine on my computer. The problem the question was hoping to solve did not get resolved, and now I'm left with a VM that has no network access.

I'm relatively new to Ubuntu, and I'm not sure how to reinstall dhcp3-client without network access. I have a host VM with Internet access as well as an 8GB USB drive.

What's the simplest way to get networking back on my VM?

share|improve this question
up vote 2 down vote accepted

First, as you are using VMs, you should abuse your ability to work on snapshots ... that would save you that kind of trouble.

To reinstall dhcp3-client, you just need to install it from the package


This package might still be in your VM (look in /var/cache/apt/archives/), if not, transfer it into your VM after getting it here (if you don't know how to do so, you need to tell which virtualization software you use).

Then execute the following command in the directory containing the .deb:

sudo dpkg -i dhcp3-client_3.1.1-5ubuntu8.1_amd64.deb

(I assumed from the linked question that you are using Ubuntu 9.04 64bits on your VMs)

share|improve this answer
You're correct on your assumptions about 9.04 x64. I'm busy until later in the day - I'll try this out then. I think I should be able to get the package into my VM, but if not, I'm using VMWare Workstation. Thanks for the reply! – Dave McClelland Oct 7 '09 at 13:25

Your Answer


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.