После очередного обновления virtualbox-а он перестал запускаться, при попытке рестарта выдает

 

root@proxy-konder:# /etc/init.d/vboxdrv restart
WARNING: /etc/modprobe.d/local.conf line 1: ignoring bad line starting with 'option'
 * Stopping VirtualBox kernel modules                                                                                 [ OK ]
 * Starting VirtualBox kernel modules                                                                                       
 * modprobe vboxdrv failed. Please use 'dmesg' to find out why

 

Дальше можно выполнить

 

root@proxy-konder:# /etc/init.d/vboxdrv setup

 

WARNING: /etc/modprobe.d/local.conf line 1: ignoring bad line starting with 'option'
 * Stopping VirtualBox kernel modules                                                                                 [ OK ]
 * Uninstalling old VirtualBox DKMS kernel modules                                                                           Error! Could not locate dkms.conf file.
File:  does not exist.
                                                                                                                      [ OK ]
 * Trying to register the VirtualBox kernel modules using DKMS                                                               Error! DKMS tree already contains: vboxhost-4.2.12
You cannot add the same module/version combo more than once.

 * Failed, trying without DKMS
 * Recompiling VirtualBox kernel modules                                                                              [ OK ]
 * Starting VirtualBox kernel modules                                                                                 [ OK ]  

 

И в принципе все будет работать. Попытка посмотреть

 

root@proxy-konder:/etc/init.d# dkms status
Error! Could not locate dkms.conf file.
File:  does not exist.

 

Оказалось все прозаично

 

root@proxy-konder:/etc/init.d# locate dkms.conf
/etc/modprobe.d/dkms.conf
/usr/share/virtualbox/src/vboxhost/dkms.conf
/var/lib/dkms/vboxhost/4.1.18/build/dkms.conf
/var/lib/dkms/vboxhost/4.2.12/build/dkms.conf
/var/lib/dpkg/info/dkms.conffiles

 

удаляем директорию 4.1.18 и символьные линки  и все нормально

 

root@proxy-konder:/var/lib/dkms# dkms status
vboxhost, 4.2.12, 3.5.0-32-generic, x86_64: installed

 

NewMixer (c) 2017