Installing Virtualbox Guest Additions 4.1.14 - guest's version is 4.1.0

134 views
Skip to first unread message

richardc

unread,
May 5, 2012, 2:47:57 AM5/5/12
to Vagrant
Hi,

I'm trying to add Virtualbox Guest Addition, but get the following
error. Any suggestions on how to resolve would be appreciated.

I

Thanks.


$ vagrant up
[default] VM already created. Booting if it's not already running...
[default] Clearing any previously set forwarded ports...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Installing Virtualbox Guest Additions 4.1.14 - guest's
version is 4.1.0
[default] Copy iso file /usr/share/virtualbox/VBoxGuestAdditions.iso
into the box /tmp/VBoxGuestAdditions.iso
[default] Copy installer file setup_debian.sh into the box /tmp/
install_vbguest.sh
stdin: is not a tty
Reading package lists...
Building dependency tree...
Reading state information...
linux-headers-2.6.32-33-generic is already the newest version.
dkms is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
virtualbox-4.1: Depends: libcurl3 (>= 7.16.2-1) but it is not going
to be installed
Depends: libgl1-mesa-glx but it is not going to be
installed or
libgl1
Depends: libpython2.6 (>= 2.6) but it is not going
to be installed
Depends: libqt4-network (>= 4:4.5.3) but it is not
going to be installed
Depends: libqt4-opengl (>= 4:4.5.3) but it is not
going to be installed
Depends: libqtcore4 (>= 4:4.6.1) but it is not going
to be installed
Depends: libqtgui4 (>= 4:4.6.1) but it is not going
to be installed
Depends: libsdl1.2debian (>= 1.2.10-1) but it is not
going to be installed
Depends: libxcursor1 (> 1.1.2) but it is not going
to be installed
Depends: libxinerama1 but it is not going to be
installed
Depends: libxmu6 but it is not going to be installed
Depends: libxt6 but it is not going to be installed
Recommends: libasound2
Recommends: libpulse0 but it is not going to be
installed
Recommends: libsdl-ttf2.0-0 but it is not going to
be installed
Recommends: libhal1 (>= 0.5) but it is not going to
be installed
Recommends: pdf-viewer
Recommends: libgl1
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

sh /tmp/install_vbguest.sh

richardc

unread,
May 5, 2012, 3:23:05 AM5/5/12
to Vagrant
After running apt-get -f install the instance doesn't start - it
remains at

Robert Schulze

unread,
May 5, 2012, 8:20:46 AM5/5/12
to vagra...@googlegroups.com
Hi,

first of all, it seems that you installed a package "virtualbox-4.1" in you box. Why is that? This package seems to be the VirtualBox _Host_ software (http://packages.ubuntu.com/precise/virtualbox), not the GuestAdditions. You probably don't need this package and should remove it.

The hangs are either one of the common network-problems or a result of having a virtualizer inside your virtualized box. Try to boot the box in gui mode (`config.vm.boot_mode = :gui`) and look around whats going on. If the box comes up ok, you can log in with vagrant/vagrant and restart the networking interfaces (`sudo /etc/init.d/networking restart`) - this normally does the trick when network interfaces get confused.
Reply all
Reply to author
Forward
0 new messages