Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have Ubuntu (12.04 64bit) running using VMWare Player.

I accidentally removed dnsmasq-base and therefore also network-manager + network-manager-gnome.

How can i re-install these without any Internet connection on the guest machine, the host is windows 7 and is connected.

I have the ubuntu installation ISO file available in my home directory... if I could add it as repository that would be great.

Thanks!

// Roland

share|improve this question
Is the installation ISO the alternate one or the live CD version? – ObsessiveSSOℲ Sep 22 '12 at 17:34
The one at ubuntu.com/download/desktop (Ubuntu 12.04.1 LTS 64 bit) :/ – Roland Franssen Sep 22 '12 at 17:37
Unfortunately, that one can't be used as an APT-on-cd repo. Sorry. – ObsessiveSSOℲ Sep 22 '12 at 17:37
So... what are my options now? – Roland Franssen Sep 22 '12 at 17:38
I'd reinstall, but use the same partition and not format it, using the advanced partitioner. Or, you can try to use the "Upgrade" option on the installer to try to save your data. – ObsessiveSSOℲ Sep 22 '12 at 17:41

2 Answers

Make a new Vmware machine and boot from your Ubuntu ISO you have then install your needed packages in your live CD and then copy those files from the

/var/cache/apt/archives/

and move them to your system using FM USB or whatever and there open a terminal:

cd /path-to-directory-that-include-packages

sudo dpkg -i *.deb

share|improve this answer

(For Ubuntu 12.04)

Open

sudo gedit /etc/network/interfaces

and write

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
  address 192.168.0.2     #(your ip)
  netmask 255.255.255.0   #(your subnet)
  gateway 192.168.0.1     #(your gateway)
  dns-nameservers 8.8.8.8

then save and restart

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.