sudo kextcache -invalidate /
kextcache command must be run as root.
You should see something like
KernelCache ID: <Some ID>.
Finally, make sure there is no folder named
/Library/StagedExtensions any more. Run the following and you shouldn’t see any output:
find /Library/StagedExtensions -name VirtualBox
Hey, kudos for making it this far! If you've liked this, you might also like tmux Cheatsheet and Shortcuts.