Page 1 of 1

[SOLVED] Dependencies Problem VirtualBox 2.1 in Ubuntu 8.1

Posted: 30. Jan 2009, 12:52
by Sopalajo de Arrierez
Hello.
I had Ubuntu 1.6 running on Ubuntu 8.10 AMD64 version. I uninstalled VirtualBox via "apt-get remove", and now, whan I try to install v2.1 I get dependencies problems (sorry, my Ubuntu Version is in Spanish, but you can read the 3 missing packages):
virtualbox-2.1 ya está en su versión más reciente.
Tal vez quiera ejecutar `apt-get -f install' para corregirlo:
Los siguientes paquetes tienen dependencias incumplidas:
virtualbox-2.1: Depende: libqt4-network (>= 4.4.3) pero no es instalable
Depende: libqtcore4 (>= 4.4.3) pero no es instalable
Depende: libqtgui4 (>= 4.4.3) pero no es instalable
E: Dependencias incumplidas. Intente 'apt-get -f install' sin paquetes (o especifique una solución).
When I try to run "VBoxManage list vms" I get all this:
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (2.6.24-23-generic) or it failed to
load. Please recompile the kernel module and install it by

sudo /etc/init.d/vboxdrv setup

You will not be able to start VMs until this problem is fixed.
VirtualBox Command Line Management Interface Version 2.1.2
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.
And if I run "sudo /etc/init.d/vboxdrv setup" I get:
* Stopping VirtualBox kernel module * done.
* Recompiling VirtualBox kernel module
* Look at /var/log/vbox-install.log to find out what went wrong
And this is the content of that file:
/etc/init.d/vboxdrv: 311: /usr/share/virtualbox/src/build_in_tmp: not found
I tried installing VirtualBox via .deb file and via Ubuntu repositories, editing "/etc/apt/sources.list", but my problem is still there. :-(
This is what happens when installing via "dpkg":
sudo dpkg -i virtualbox-2.1_2.1.2-41885_Ubuntu_intrepid_amd64.deb
Seleccionando el paquete virtualbox-2.1 previamente no seleccionado.
(Leyendo la base de datos ...
201464 ficheros y directorios instalados actualmente.)
Desempaquetando virtualbox-2.1 (de virtualbox-2.1_2.1.2-41885_Ubuntu_intrepid_amd64.deb) ...
dpkg: problemas de dependencias impiden la configuración de virtualbox-2.1:
virtualbox-2.1 depende de libqt4-network (>= 4.4.3); sin embargo:
El paquete `libqt4-network' no está instalado.
virtualbox-2.1 depende de libqtcore4 (>= 4.4.3); sin embargo:
El paquete `libqtcore4' no está instalado.
virtualbox-2.1 depende de libqtgui4 (>= 4.4.3); sin embargo:
El paquete `libqtgui4' no está instalado.
dpkg: error al procesar virtualbox-2.1 (--install):
problemas de dependencias - se deja sin configurar
Se encontraron errores al procesar:
virtualbox-2.1
Any help would be welcome, Thanks :-)

EDITED:

I tried "apt-get update", but nothing :-(
I tried to install those missing packages, but they don't exist in Ubuntu 8.10 :-(

Posted: 31. Jan 2009, 00:47
by Sasquatch
It seems that you have outdated repository headers. Update them, then try to install the missing packages manually.

Posted: 31. Jan 2009, 02:23
by Sopalajo de Arrierez
OOoppsss... I had forgotten this:

I tried "apt-get update", but nothing :-(
I tried to install those missing packages, but they don't exist in Ubuntu 8.10 :-(

Posted: 31. Jan 2009, 12:06
by Sasquatch
They do exist, I have them and I run 8.10. Check your sources, there might be some missing. They should be in the main repository, but there are also some updates in intrepid-updates.

Posted: 31. Jan 2009, 13:12
by Sopalajo de Arrierez
You gave me the clue to search for, Sasquatch, and I have found it :-D
The problem was easy to solve: I was wrong in putting this line at /etc/apt/sources.lst :
# VirtualBox:
deb http://download.virtualbox.org/virtualbox/debian hardy non-free
The correct one for my Ubuntu version is:
# VirtualBox:
deb http://download.virtualbox.org/virtualbox/debian intrepid non-free
Now everything works OK ;-).
Thanks a lot, my friend :-D.