Ubuntu – How to install Vagrant with manual VirtualBox 4.2

vagrantvirtualbox

How can I install Vagrant 1.0.6. with an already manually installed VirtualBox 4.2.6 on Ubuntu 12.04? All of my known ways fail:

  1. Download *.deb file for 64bit and dpkg --install vagrant_x86_64.deb gives me the error Vagrant not installed. Use apt-get install vagrant after using vagrant up.
  2. Using apt-get install vagrant wants to remove (!) my manual VirtualBox installation.

What to do?

Best Answer

Use:

apt-get install vagrant --no-install-recommends

as a work-around.

See https://bugs.launchpad.net/ubuntu/+source/vagrant/+bug/1125097