Public bug reported: After a fresh installation of Ubuntu 24.04 (Noble Numbat). The latest VirtualBox 7.0.18 will not run without signed kernel modules.
1. Reboot into BIOS and disable secureboot (not recommended for security reasons) 2. Install pre-requisites and dependencies sudo apt-get update && sudo apt-get upgrade -y sudo apt-get install dkms libsdl-ttf2.0-0 build-essential dpkg-dev gcc -y 3. Run sudo apt-get install virtualbox (FYI. Installs version 7.0.16 instead of 7.0.18 as of 5/8/24 from apt-get) 4. virtualbox (application launches and VM's can load and launch 5. sudo init 0 and reboot the machine into BIOS and re-enable SecureBoot and log back in. 6. Launch a VM and it throws this error: The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please reinstall virtualbox-dkms package and load the kernel module by executing 'modprobe vboxdrv' as root. If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information. where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT. 7. Marathon of attempts to reinstall virtualbox-dkms (already installed). Attempts to sign keys with mokutil ssl. 8. I got zilch...anyone else that can help? AI and Google just is not cutting it on this one... Missing dependencies after running: sudo apt install ./virtualbox* (latest version) sudo apt-get install libsdl-ttf2.0-0 and it's whining about libvpx7 (Ubuntu 24.04 LTS) comes with libvpx9 also attempted to reload everything: sudo -i (I know...I know...yadda yadda) I ran as root (just tired of the problem) dpkg-reconfigure virtualbox-dkms dpkg-reconfigure virtualbox modprobe vboxdrv Error persists: modprobe: ERROR: could not insert 'vboxdrv': Key was rejected by service clean and fresh install of 7.0.18 and associated errors on Ubuntu 24.04 (5/8/24) from the terminal: shea@purplelife:~/Downloads$ sudo dpkg -i virtualbox-7.0_7.0.18-162988~Ubuntu~jammy_amd64.deb Selecting previously unselected package virtualbox-7.0. (Reading database ... 151207 files and directories currently installed.) Preparing to unpack virtualbox-7.0_7.0.18-162988~Ubuntu~jammy_amd64.deb ... Unpacking virtualbox-7.0 (7.0.18-162988~Ubuntu~jammy) ... dpkg: dependency problems prevent configuration of virtualbox-7.0: virtualbox-7.0 depends on libqt5core5a (>= 5.15.1); however: Package libqt5core5a is not installed. virtualbox-7.0 depends on libqt5dbus5 (>= 5.14.1); however: Package libqt5dbus5 is not installed. virtualbox-7.0 depends on libqt5gui5 (>= 5.14.1) | libqt5gui5-gles (>= 5.14.1); however: Package libqt5gui5 is not installed. Package libqt5gui5-gles is not installed. virtualbox-7.0 depends on libqt5help5 (>= 5.15.1); however: Package libqt5help5 is not installed. virtualbox-7.0 depends on libqt5opengl5 (>= 5.0.2); however: Package libqt5opengl5 is not installed. virtualbox-7.0 depends on libqt5printsupport5 (>= 5.0.2); however: Package libqt5printsupport5 is not installed. virtualbox-7.0 depends on libqt5widgets5 (>= 5.15.1); however: Package libqt5widgets5 is not installed. virtualbox-7.0 depends on libqt5x11extras5 (>= 5.6.0); however: Package libqt5x11extras5 is not installed. virtualbox-7.0 depends on libqt5xml5 (>= 5.0.2); however: Package libqt5xml5 is not installed. virtualbox-7.0 depends on libvpx7 (>= 1.10.0); however: Package libvpx7 is not installed. dpkg: error processing package virtualbox-7.0 (--install): dependency problems - leaving unconfigured Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ... Processing triggers for desktop-file-utils (0.27-2build1) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for shared-mime-info (2.4-4) ... Errors were encountered while processing: virtualbox-7.0 shea@purplelife:~/Downloads$ sudo apt-get install ./virtualbox-7.0_7.0.18-162988~Ubuntu~jammy_amd64.deb Reading package lists... Done Building dependency tree... Done Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: virtualbox-7.0 : Depends: libqt5core5a (>= 5.15.1) Depends: libqt5dbus5 (>= 5.14.1) Depends: libqt5gui5 (>= 5.14.1) or libqt5gui5-gles (>= 5.14.1) but it is not installed Depends: libqt5help5 (>= 5.15.1) but it is not installed Depends: libqt5opengl5 (>= 5.0.2) Depends: libqt5printsupport5 (>= 5.0.2) Depends: libqt5widgets5 (>= 5.15.1) Depends: libqt5x11extras5 (>= 5.6.0) but it is not installed Depends: libqt5xml5 (>= 5.0.2) Depends: libvpx7 (>= 1.10.0) but it is not installable E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). shea@purplelife:~/Downloads$ sudo apt --fix-broken install Reading package lists... Done Building dependency tree... Done Reading state information... Done Correcting dependencies... Done The following packages will be REMOVED: virtualbox-7.0 0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded. 1 not fully installed or removed. After this operation, 220 MB disk space will be freed. Do you want to continue? [Y/n] Y (Reading database ... 151945 files and directories currently installed.) Removing virtualbox-7.0 (7.0.18-162988~Ubuntu~jammy) ... Processing triggers for hicolor-icon-theme (0.17-2) ... Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ... Processing triggers for shared-mime-info (2.4-4) ... Processing triggers for desktop-file-utils (0.27-2build1) ... shea@purplelife:~/Downloads$ ** Affects: virtualbox (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065176 Title: VirtualBox 7.0.18 won't install on Ubuntu 24.04 due to dependency errors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/2065176/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs