[SOLVED] Dependencies Problem VirtualBox 2.1 in Ubuntu 8.1

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Sopalajo de Arrierez
Posts: 30
Joined: 5. Jul 2008, 12:04

[SOLVED] Dependencies Problem VirtualBox 2.1 in Ubuntu 8.1

Post 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 :-(
Last edited by Sopalajo de Arrierez on 31. Jan 2009, 13:13, edited 2 times in total.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

It seems that you have outdated repository headers. Update them, then try to install the missing packages manually.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sopalajo de Arrierez
Posts: 30
Joined: 5. Jul 2008, 12:04

Post 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 :-(
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sopalajo de Arrierez
Posts: 30
Joined: 5. Jul 2008, 12:04

Post 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.
Post Reply