Update to latest version breaks VMs

Discussions related to using VirtualBox on Linux hosts.
Post Reply
droidus
Posts: 16
Joined: 15. Oct 2018, 05:15

Update to latest version breaks VMs

Post by droidus »

I updated VB to the latest version on Ubuntu 18, and I am getting error popups for more than one machine. The one is saying that it "Failed to open a session for the virtual machine", Result Code: NS_ERROR_FAILURE, Component: MachineWrap.
Screenshot from 2018-12-22 07-12-59.png
Screenshot from 2018-12-22 07-12-59.png (63.98 KiB) Viewed 1942 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Update to latest version breaks VMs

Post by mpack »

Please provide a VM log file. With the VM fully shut down, right click it in the GUI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.
droidus
Posts: 16
Joined: 15. Oct 2018, 05:15

Re: Update to latest version breaks VMs

Post by droidus »

Windows - Win7-2018-12-22-06-48-01.zip
(29.23 KiB) Downloaded 17 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Update to latest version breaks VMs

Post by mpack »

VirtualBox VM 5.2.18_Ubuntu r123745 linux.amd64 (Oct 10 2018 13:27:01) release log
As I suspected would be the case, that is not the latest version (v6.0.0) of VirtualBox, it isn't even the latest version in the 5.2.x branch (that would be 5.2.22).

To complicate things further, technically your software isn't even VirtualBox. What you have there is the Ubuntu fork of VirtualBox. If you have any issues with the Ubuntu fork of any software then you need to take it to the Ubuntu forums. If you want support on the VirtualBox forums then you need to install official VirtualBox from the downloads site here.

Incidentally, the error message appears to me to suggest that you previously installed official VirtualBox, but then you tried to update it from the Ubuntu repository: which serves up the fork and trashes VirtualBox.
droidus
Posts: 16
Joined: 15. Oct 2018, 05:15

Re: Update to latest version breaks VMs

Post by droidus »

mpack wrote: install official VirtualBox from the downloads site here.

Incidentally, the error message appears to me to suggest that you previously installed official VirtualBox, but then you tried to update it from the Ubuntu repository: which serves up the fork and trashes VirtualBox.
There was no link provided.
I would prefer the updated version. How do I go about fixing this?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Update to latest version breaks VMs

Post by socratis »

Although mpack already told you, I'll repeat with the link, not to hard to find actually...

Completely remove/uninstall/delete/purge their version. Then install the official version from the Linux Downloads section of VirtualBox (https://www.virtualbox.org/wiki/Linux_Downloads).
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.
droidus
Posts: 16
Joined: 15. Oct 2018, 05:15

Re: Update to latest version breaks VMs

Post by droidus »

I did a sudo apt purge virtualbox-*, and 6 still fails to work.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Update to latest version breaks VMs

Post by socratis »

Search your guest's filesystem for anything that starts with virtualb*, vbox*, vm* (case insensitive) and get rid of everything. That should for example find the following ISO, which you should not be having as a stand-alone download:
00:00:00.829168 File system of '/home/user/.config/VirtualBox/VBoxGuestAdditions_5.2.18.iso' (DVD) is ext4
Also uninstall the custom and non-matching VNC ExtPack:
00:00:00.797503 VNC (Version: 5.2.18 r123745; VRDE Module: VBoxVNC)
Since you're on Ubuntu, I suggest that you install 'Synaptic', I find it much easier/user friendly to work with compared to 'dpkg' or 'apt'.
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