You need to reboot, although I suppose unloading and reloading the vboxdrv kernel module (i.e. restart vboxdrv.service) would work too.
So I rebooted my host, and attempts to start a VM are greeted with:
This process does not work, the executable is now at /usr/sbin/rcvboxdrv setup but fails with a message that this is done by a package.
You cannot build the kernel module. The openSUSE host kmp package contains the module in pre-compiled form, the source code is not included.
I do have|virtualbox-host-kmp-desktop - Host kernel module for VirtualBox installed,
|
but seem to be missing a rule (or ?) to reload the modules on boot|
There’s vboxdrv.service (/etc/init.d/vboxdrv) that needs to be enabled/started on boot to load the module.
systemctl status vboxdrv
I am also beginning to realize that “sudo rpm -e --noscripts VirtualBox-5.0”
may have removed the package, but did not clean up rules, etc that had been installed.
It probably left the kernel module installed. The error message was something about DKMS, which rebuilds the kernel module for the current kernel automatically if it is not available.
Maybe try to uninstall dkms and reinstall virtualbox-host-kmp-desktop.
I found the [old] Oracle Udev rule still in place in /etc/udev/rules.d, so likely there are others
Shouldn’t that be in /usr/lib/udev/rules.d/?
I don’t think the Oracle package installs anything to /etc/…
Although maybe it doesn’t package the rule, but creates it in /etc/ the first time it runs or during installation. A packaging error I’d say, a package should own all files that it installs, rpm would then remove them (unless they are marked as config files which might also be the case here).
Anyway, remove it.
I don’t know what else might be left behind, as I never installed the Oracle package here.