2016-06-04 56 views
5

Ho appena installato Vagrant e Virtualbox ma non riesco a eseguire Vagrant. Sto ottenendo il seguente errore quando ho eseguito 'Vagrant up':Impossibile eseguire Vagrant su Ubuntu 16.04

[email protected]:~/vagrant_proj$ vagrant up 
VirtualBox is complaining that the installation is incomplete. Please 
run `VBoxManage --version` to see the error message which should contain 
instructions on how to fix this error. 

Poi quando corro 'VBoxManage --version', ottengo:

[email protected]:~/vagrant_proj$ VBoxManage --version 
WARNING: The character device /dev/vboxdrv does not exist. 
    Please install the virtualbox-dkms package and the appropriate 
    headers, most likely linux-headers-generic. 

    You will not be able to start VMs until this problem is fixed. 
5.0.18_Ubuntur106667 

Ho provato una serie di soluzioni come le istruzioni qui: How to correct virtualbox installation, ma nulla è sembrato funzionare.

Per favore aiuto.

+0

Sei sicuro di avere 'linux-headers-generic' e' virtualbox-ose-dkms' installato? – Ownaginatious

+0

Credo di avere 'linux-headers-generic', ma quando provo a installare l'altro, ottengo un errore:' E: impossibile trovare il pacchetto virtualbox-ose-dkms' –

+0

Ma ho installato con successo 'virtualbox- dkms' –

risposta

1

Reinstallare virtualbox-dkms (via aptitude reinstall virtualbox-dkms) ha fatto il trucco per me. Esso ha costretto la ricostruzione dei moduli e quant'altro, ora il mio stivale VM = nuovo)

Spero che questo aiuti

3

Per gli altri che stanno avendo il problema, disattivare l'avvio sicuro. Ha funzionato per me

enter image description here

+0

Grazie amico, È un trucco – Thamaraiselvam

+0

grazie mille..sto impazzire con questo errore .. – slier