vbox not working

Asked by contardo sala

Kernel driver not installed (rc=-1908)

Please install the virtualbox-ose-dkms package and execute 'modprobe vboxdrv' as root.
Codice&nbspd'uscita:
NS_ERROR_FAILURE (0x80004005)
Componente:
Machine
Interfaccia:
IMachine {99404f50-dd10-40d3-889b-dd2f79f1e95e}

I REALLY DON'T KNOW WHAT TO DO .
CAN YOU HELP ME?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu virtualbox-ose Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#1

Hi ,
try to follow the suggestion

"Please install the virtualbox-ose-dkms package and execute 'modprobe vboxdrv' as root."

Open a terminal (ctrl+alt+t) and run below commands with order

=========================================
sudo apt-get install virtualbox-ose-dkms
sudo modprobe vboxdrv
=========================================

I hope above commands will solve your problem.
Thanks

Revision history for this message
contardo sala (contardosala) said :
#2

contardo@contardo-ubuntu:~$ sudo apt-get install virtualbox-ose-dkms
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
virtualbox-ose-dkms è già alla versione più recente.
0 aggiornati, 0 installati, 0 da rimuovere e 14 non aggiornati.
contardo@contardo-ubuntu:~$ sudo modprobe vboxdrv
WARNING: All config files need .conf: /etc/modprobe.d/alsa-base.conf.bk, it will be ignored in a future release.
FATAL: Module vboxdrv not found.

doesn't work.sorry

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

You can run:

sudo rm /etc/modprobe.d/alsa-base.conf.bk

To clean that up. Try:

echo "deb http://download.virtualbox.org/virtualbox/debian precise contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list > /dev/null

wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -

sudo apt-get update

sudo apt-get --purge remove virtualbox-ose virtualbox-ose-dkms

sudo apt-get install virtualbox-4.1

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#4

Hi ,
please try this command

=============================
sudo /etc/init.d/virtualbox-ose start
============================
Thanks

Revision history for this message
contardo sala (contardosala) said :
#5

contardo@contardo-ubuntu:~$ echo "deb http://download.virtualbox.org/virtualbox/debian precise contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list > /dev/null
[sudo] password for contardo:
contardo@contardo-ubuntu:~$ wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
OK
contardo@contardo-ubuntu:~$ sudo apt-get update
Trovato http://archive.canonical.com lucid Release.gpg
Ign http://archive.canonical.com/ubuntu/ lucid/partner Translation-it
Scaricare:1 http://archive.ubuntu.com lucid Release.gpg [189B]
Trovato http://archive.ubuntu.com/ubuntu/ lucid/main Translation-it
Trovato http://archive.ubuntu.com/ubuntu/ lucid/universe Translation-it
Scaricare:2 http://archive.ubuntu.com lucid-updates Release.gpg [198B]
Trovato http://archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-it
Trovato http://archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-it
Trovato http://archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-it
Scaricare:3 http://archive.ubuntu.com lucid-security Release.gpg [198B]
Ign http://archive.ubuntu.com/ubuntu/ lucid-security/main Translation-it
Ign http://archive.ubuntu.com/ubuntu/ lucid-security/restricted Translation-it
Trovato http://archive.canonical.com lucid Release
Ign http://archive.ubuntu.com/ubuntu/ lucid-security/universe Translation-it
Scaricare:4 http://archive.ubuntu.com lucid-proposed Release.gpg [198B]
Trovato http://archive.ubuntu.com/ubuntu/ lucid-proposed/restricted Translation-it
Trovato http://archive.ubuntu.com/ubuntu/ lucid-proposed/main Translation-it
Trovato http://archive.ubuntu.com/ubuntu/ lucid-proposed/universe Translation-it
Trovato http://archive.canonical.com lucid/partner Packages
Scaricare:5 http://archive.ubuntu.com lucid Release [57,2kB]
Trovato http://archive.canonical.com lucid/partner Sources
Scaricare:6 http://archive.ubuntu.com lucid-updates Release [58,3kB]
Scaricare:7 http://download.virtualbox.org precise Release.gpg [198B]
Scaricare:8 http://archive.ubuntu.com lucid-security Release [57,3kB]
Scaricare:9 http://archive.ubuntu.com lucid-proposed Release [58,3kB]
Ign http://download.virtualbox.org/virtualbox/debian/ precise/contrib Translation-it
Scaricare:10 http://archive.ubuntu.com lucid/main Packages [1386kB]
Scaricare:11 http://download.virtualbox.org precise Release [5381B]
Scaricare:12 http://download.virtualbox.org precise/contrib Packages [986B]
Scaricare:13 http://archive.ubuntu.com lucid/main Sources [659kB]
Scaricare:14 http://archive.ubuntu.com lucid/restricted Sources [3775B]
Scaricare:15 http://archive.ubuntu.com lucid/universe Packages [5448kB]
Scaricare:16 http://archive.ubuntu.com lucid/universe Sources [3165kB]
Scaricare:17 http://archive.ubuntu.com lucid-updates/main Packages [627kB]
Scaricare:18 http://archive.ubuntu.com lucid-updates/restricted Packages [4630B]
Scaricare:19 http://archive.ubuntu.com lucid-updates/main Sources [225kB]
Scaricare:20 http://archive.ubuntu.com lucid-updates/restricted Sources [2196B]
Scaricare:21 http://archive.ubuntu.com lucid-updates/universe Packages [274kB]
Scaricare:22 http://archive.ubuntu.com lucid-updates/universe Sources [102kB]
Scaricare:23 http://archive.ubuntu.com lucid-security/main Packages [426kB]
Scaricare:24 http://archive.ubuntu.com lucid-security/restricted Packages [2867B]
Scaricare:25 http://archive.ubuntu.com lucid-security/main Sources [127kB]
Scaricare:26 http://archive.ubuntu.com lucid-security/restricted Sources [1267B]
Scaricare:27 http://archive.ubuntu.com lucid-security/universe Packages [133kB]
Scaricare:28 http://archive.ubuntu.com lucid-security/universe Sources [40,7kB]
Scaricare:29 http://archive.ubuntu.com lucid-proposed/restricted Packages [14B]
Scaricare:30 http://archive.ubuntu.com lucid-proposed/main Packages [142kB]
Scaricare:31 http://archive.ubuntu.com lucid-proposed/universe Packages [21,6kB]
Recuperati 13,0MB in 48s (267kB/s)
Lettura elenco dei pacchetti... Fatto
contardo@contardo-ubuntu:~$ sudo apt-get --purge remove virtualbox-ose virtualbox-ose-dkms
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
I seguenti pacchetti saranno RIMOSSI:
  vboxgtk* virtualbox-ose* virtualbox-ose-dkms* virtualbox-ose-fuse*
  virtualbox-ose-qt* virtualbox-ose-source*
0 aggiornati, 0 installati, 6 da rimuovere e 14 non aggiornati.
Dopo quest'operazione, verranno liberati 48,5MB di spazio su disco.
Continuare [S/n]? s
(Lettura del database... 449511 file e directory attualmente installati.)
Rimozione di vboxgtk...
Eliminazione dei file di configurazione di vboxgtk...
Rimozione di virtualbox-ose-qt...
Eliminazione dei file di configurazione di virtualbox-ose-qt...
Rimozione di virtualbox-ose-fuse...
Rimozione di virtualbox-ose...
 * Stopping VirtualBox kernel modules [ OK ]
Eliminazione dei file di configurazione di virtualbox-ose...
Rimozione di virtualbox-ose-source...
Rimozione di virtualbox-ose-dkms...
Removing all DKMS Modules
Done.
Elaborazione dei trigger per python-support...
Elaborazione dei trigger per man-db...
Elaborazione dei trigger per desktop-file-utils...
Elaborazione dei trigger per python-gmenu...
Rebuilding /usr/share/applications/desktop.it_IT.utf8.cache...
Elaborazione dei trigger per hicolor-icon-theme...
Elaborazione dei trigger per ureadahead...
Elaborazione dei trigger per python-support...
contardo@contardo-ubuntu:~$ sudo apt-get install virtualbox-4.1
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Alcuni pacchetti non possono essere installati. Questo può voler dire
che è stata richiesta una situazione impossibile oppure, se si sta
usando una distribuzione in sviluppo, che alcuni pacchetti richiesti
non sono ancora stati creati o sono stati rimossi da Incoming.
Le seguenti informazioni possono aiutare a risolvere la situazione:

I seguenti pacchetti hanno dipendenze non soddisfatte:
  virtualbox-4.1: Dipende: libc6 (>= 2.15) ma 2.11.1-0ubuntu7.10 sta per essere installato
                  Dipende: libpython2.7 (>= 2.7) ma non è installabile
                  Dipende: libqt4-opengl (>= 4:4.7.2) ma 4:4.6.2-0ubuntu5.4 sta per essere installato
                  Dipende: libqtcore4 (>= 4:4.8.0) ma 4:4.6.2-0ubuntu5.4 sta per essere installato
                  Dipende: libqtgui4 (>= 4:4.8.0) ma 4:4.6.2-0ubuntu5.4 sta per essere installato
                  Dipende: libssl1.0.0 (>= 1.0.0) ma non è installabile
                  Dipende: libstdc++6 (>= 4.6) ma 4.4.3-4ubuntu5.1 sta per essere installato
E: Pacchetto danneggiato
contardo@contardo-ubuntu:~$
other output.

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#6

ok you are using Precise. Run:

gksudo gedit /etc/apt/sources.list.d/virtualbox.list

Change the word precise for the word lucid, then run:

sudo apt-get --purge remove virtualbox-4.1
sudo apt-get --purge autoremove
sudo fuser -vvv /var/lib/dpkg/lock
sudo rm /var/lib/apt/lists/lock
sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo rm /var/cache/apt/*.bin
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
LANG=C;sudo apt-get clean
LANG=C;sudo apt-get autoclean
LANG=C;sudo apt-get --purge autoremove
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
sudo dpkg --clear-avail
sudo dpkg --configure -a
LANG=C;sudo apt-get -f install
LANG=C;sudo apt-get --fix-missing install
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
sudo apt-get install virtualbox-4.1

Just so you are aware, Lucid has about 9 months support left, so you may want to upgrade soon.

Revision history for this message
contardo sala (contardosala) said :
#7

seems this fix it all.thank you so much.

Revision history for this message
contardo sala (contardosala) said :
#8

Thanks actionparsnip, that solved my question.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#9

Np, in future please state the release you are using. It makes a difference (as you have seen)