Page 1 of 1

the problem virtualbox failed for /sbin/vboxconfig

Posted: 4. Jul 2017, 12:41
by rodrigue7800@outlook.com
Hello !
I am a new virtualbox
But on the other hand I have a problem

I have purged old old i have install 5.1 in .deb and even the thing the message says this
I'm under Linux Mint 18.2 Sonya
virtual box Version 5.1.22 r115126

Code: Select all

vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig

Code: Select all

rodrigue7800@rodrigue7800-asusmaximusg5 ~ $ sudo /sbin/vboxconfig
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.
you have an idea?
thank you :D

Re: the problem virtualbox failed for /sbin/vboxconfig

Posted: 4. Jul 2017, 14:14
by towo2099
vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.
Possible missing kernel-headers for your running kernel.

Re: the problem virtualbox failed for /sbin/vboxconfig

Posted: 6. Jul 2017, 20:43
by rodrigue7800@outlook.com
sorry me 1 day not post message
voila
https://paste.ubuntu.com/25018142/

Re: the problem virtualbox failed for /sbin/vboxconfig

Posted: 8. Jul 2017, 19:52
by rodrigue7800@outlook.com
up ?

Re: the problem virtualbox failed for /sbin/vboxconfig

Posted: 8. Jul 2017, 20:32
by Perryg
It's difficult to see from the log you posted because it is mixed with English and French. I would guess it might be due to a missing dependency though. Have you tried to make sure your host is updated? ( new installs often need to be updated ) Also you could try running the following from the host terminal:

Code: Select all

sudo apt-get -f install
The try installing again ( not the vboxconfig )

Note: I usually find it better to install using dkpg in an elevated terminal so you can see any errors and avoid any conflict with the distros repo.

Re: the problem virtualbox failed for /sbin/vboxconfig

Posted: 8. Jul 2017, 20:34
by rodrigue7800@outlook.com
is the solved!!! by ubuntu english

Code: Select all

this worked on Ubuntu 16.04, x86_64 Kernel 4.12 (4.12.0-041200-generic)

Change to the Virtualbox source directory
cd /usr/share/virtualbox/src

get this patch and place it in /usr/share/virtualbox/src
sudo wget http://paste.siduction.org/20170629003423

apply patch
sudo patch -Np0 < 20170629003423

run vboxconfig by executing
/sbin/vboxconfig

have fun!

source: https://forum.siduction.org/index.php?topic=6769.0 plus my own experience

Rodrigue7800

Re: the problem virtualbox failed for /sbin/vboxconfig

Posted: 8. Jul 2017, 20:35
by rodrigue7800@outlook.com
Perryg wrote:It's difficult to see from the log you posted because it is mixed with English and French. I would guess it might be due to a missing dependency though. Have you tried to make sure your host is updated? ( new installs often need to be updated ) Also you could try running the following from the host terminal:

Code: Select all

sudo apt-get -f install
The try installing again ( not the vboxconfig )

Note: I usually find it better to install using dkpg in an elevated terminal so you can see any errors and avoid any conflict with the distros repo.
No updates

Re: the problem virtualbox failed for /sbin/vboxconfig

Posted: 10. Jul 2017, 07:48
by trekfan1
Problem is the new kernel 4.12, i have same problem when installed this kernel on my pc with linux hosts

Re: the problem virtualbox failed for /sbin/vboxconfig

Posted: 10. Jul 2017, 13:04
by rodrigue7800@outlook.com
Found the problem
Good resolutions
kiss
rodrigue7800

Re: the problem virtualbox failed for /sbin/vboxconfig

Posted: 10. Jul 2017, 14:34
by trekfan1
rodrigue7800@outlook.com wrote:is the solved!!! by ubuntu english

Code: Select all

this worked on Ubuntu 16.04, x86_64 Kernel 4.12 (4.12.0-041200-generic)

Change to the Virtualbox source directory
cd /usr/share/virtualbox/src

get this patch and place it in /usr/share/virtualbox/src
sudo wget http://paste.siduction.org/20170629003423

apply patch
sudo patch -Np0 < 20170629003423

run vboxconfig by executing
/sbin/vboxconfig

have fun!

source: https://forum.siduction.org/index.php?topic=6769.0 plus my own experience

Rodrigue7800
Confirm, this solutions works