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):