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.:
- https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1988473 (VirtualBox 6.1.34 guests crash with kernel 5.15.0-47)
- On Ubuntu 22.04 with VirtualBox, Windows 10 guest won't run anymore
- Ubuntu 22.04 seems to freeze in Virtualbox 6.1 on Windows 11
- https://forums.virtualbox.org/viewtopic.php?f=2&t=105847&sid=35f878b51d1b8d993242194fe4ce2b2c&start=15
- https://forums.virtualbox.org/viewtopic.php?f=7&t=106954 ("Update VirtualBox to 6.1.36 to get support for later kernels.")
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 Software → Add...) 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):
virtualbox
is in theuniverse
repo. Just runsudo apt update
and then runsudo apt install virtualbox
. You don't need to add any sources. You only would need to enableuniverse
if you previously disabled it. You probably don't need the "latest version". Don't chase down "latest versions" unless you absolutely need them. The latest is not the greatest. See: Why don't the Ubuntu repositories have the latest versions of software? – Nmath Sep 05 '22 at 21:23.deb
file from: https://download.virtualbox.org/virtualbox/6.1.38/virtualbox-6.1_6.1.38-153438~Ubuntu~jammy_amd64.deb and then install it usingsudo apt install /path/to/the_downloaded_virtualbox.deb
? – BeastOfCaerbannog Sep 06 '22 at 11:05.deb
after that. After all, if you find that the.deb
doesn't work for you, you can remove it and install the previous package throughapt
again. – BeastOfCaerbannog Sep 06 '22 at 14:20sudo /sbin/vboxconfig
to get the existing *.vdi's working again... Oh well...) – nutty about natty Oct 25 '22 at 08:45