Page 1 of 1

[Solved] VirtualBox error after updating Debian 8->9

Posted: 15. Dec 2017, 01:18
by optimistic
After updating from Debian 8 to 9, I have an error when starting my virtual machine.
i.imgur. com/yjdzeA8.png (delete spaces)
Than I execute command:

Code: Select all

sudo /etc/init.d/vboxdrv setup 
[sudo] пароль для ang: 
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modulesError! Could not locate dkms.conf file.
File:  does not exist.
 ...done.
Trying to register the VirtualBox kernel modules using DKMSError! DKMS tree already contains: vboxhost-4.3.32
You cannot add the same module/version combo more than once.
 ...failed!
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
  (Look at /var/log/vbox-install.log to find out what went wrong)
This is the file /var/log/vbox-install.log
paste.debian. net/1000798/ (delete space)

VirtualBox 4.3.32 r103443

I tried to install version 5.2, but it has a conflict with current version:

Code: Select all

sudo dpkg -i virtualbox-5.2_5.2.2-119230~Debian~stretch_amd64.deb 
Выбор ранее не выбранного пакета virtualbox-5.2.
dpkg: относительно virtualbox-5.2_5.2.2-119230~Debian~stretch_amd64.deb, содержащего virtualbox-5.2:
 virtualbox-5.2 конфликтует с virtualbox
  virtualbox-4.3 предоставляет virtualbox и и существует и установлен.

dpkg: ошибка при обработке архива virtualbox-5.2_5.2.2-119230~Debian~stretch_amd64.deb (--install):
 конфликт пакетов — virtualbox-5.2 не будет установлен
При обработке следующих пакетов произошли ошибки:
 virtualbox-5.2_5.2.2-119230~Debian~stretch_amd64.deb
What should I do to solve this problem and save all my machines?
Thank you.

Re: VirtualBox error after updating Debian 8->9

Posted: 15. Dec 2017, 02:36
by socratis
optimistic wrote:VirtualBox 4.3.32 r103443
optimistic wrote:What should I do to solve this problem and save all my machines?
Upgrade VirtualBox. This is way too old and unsupported. If you want to have the latest and greatest for your hosts/guests, you'd better have the latest VirtualBox as well. Your VMs are going to be unharmed during the upgrade.

Re: VirtualBox error after updating Debian 8->9

Posted: 15. Dec 2017, 10:04
by optimistic
socratis wrote:Upgrade VirtualBox
I uninstall old virtualbox with synaptic and installed new version.
My VMs are unharmed.
Everything works.
Thank you!

Re: [Solved] VirtualBox error after updating Debian 8->9

Posted: 15. Dec 2017, 10:14
by socratis
Great, thanks for the feedback. And thank you for marking it as [Solved]... ;)