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

Discussions related to using VirtualBox on Linux hosts.
Post Reply
optimistic
Posts: 2
Joined: 15. Dec 2017, 01:03

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

Post 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.
Last edited by optimistic on 15. Dec 2017, 10:05, edited 1 time in total.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: VirtualBox error after updating Debian 8->9

Post 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.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
optimistic
Posts: 2
Joined: 15. Dec 2017, 01:03

Re: VirtualBox error after updating Debian 8->9

Post by optimistic »

socratis wrote:Upgrade VirtualBox
I uninstall old virtualbox with synaptic and installed new version.
My VMs are unharmed.
Everything works.
Thank you!
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

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

Post by socratis »

Great, thanks for the feedback. And thank you for marking it as [Solved]... ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply