4

Background

After a day's work with a Windows 10 guest running on an Ubuntu (Jammy) host, suddenly the guest started to crash, cf. e.g.:

Perhaps upgrading to the latest version of VirtualBox, i.e. from 6.1.34_Ubuntu r150636 to 6.1.38 will solve this issue - hopefully!


First (unsuccessful) attempt to install latest version via GUI

In an attempt to install the latest version of VirtualBox, following the instructions on https://www.virtualbox.org/wiki/Linux_Downloads, the first step of adding a line to /etc/apt/sources.list (via GUI, i.e. Software & Updates → Other SoftwareAdd...) already caused a first hiccup as

deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https://download.virtualbox.org/virtualbox/debian jammy contrib

would leave the Add Source button grayed out. Removing […] would make the button clickable, but seems to be the wrong thing to do. Or at least might necessitate further steps in the GUI, around adding the key, but I can't seem to find and figure out right now.

Unfortunately, https://help.ubuntu.com/community/Repositories/Ubuntu#Adding_Extra_Repositories does not fully explain.

Help appreciated.


Related link(s):

3 Answers3

1

Give the following a try. I know that your question is requesting how to do this via GUI, but I think the following will get you where you want to go. It just isn't via GUI.

wget -qO- https://www.virtualbox.org/download/oracle_vbox_2016.asc | sudo tee /etc/apt/keyrings/virtualbox.asc
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/virtualbox.asc] https://download.virtualbox.org/virtualbox/debian jammy contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list
sudo apt update
sudo apt install virtualbox-6.1
Utkonos
  • 179
0

I uninstalled the Ubuntu package of Virtualbox 6.x and went for a direct download from the Virtualbox website: https://www.virtualbox.org/wiki/Linux_Downloads

Unfortunately I experienced similar problems until I installed the now current version 7.0.12. That one gave a better error message stating

VM Name: win11

VD: Backend 'VBoxIsoMaker' does not support async I/O (VERR_NOT_SUPPORTED). VirtualBox can't operate in VMX root mode. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_VMX_IN_VMX_ROOT_MODE).

Indeed qemu / kvm was installed in parallel all the time. I am wondering why just now this would create an issue. Since then I am trying to uninstall kvm but am not there yet.

queeg
  • 265
0

In the end, I did it via command line (not via GUI), following instructions here (method 3, Install VirtualBox using Oracle’s repository): https://itsfoss.com/install-virtualbox-ubuntu/. (Note that this method is itself slightly deprecated, but still works, cf. https://itsfoss.com/apt-key-deprecated. Good enough: it works. Well, after running sudo /sbin/vboxconfig to get the existing *.vdi's working again... Oh well...)

I know, should not only post links here, but also appropriately cited content...