VirtualBox No Longer Working

I use VirtualBox quite a bit. It is how I do things like check my answers, look for bugs, test new OSes, and general things like that.

Well, on my Lubuntu 18.04.5, it had stopped working with my kernel. The kernel had updated from the older (4.8.x maybe?) and is now at 5.04.x and VB wasn’t working. This needed to be resolved.

Crack open a terminal and try this:

[code]sudo apt-get install dkms build-essential linux-headers-generic
sudo apt-get install linux-headers-$(uname -r)
sudo apt install –reinstall virtualbox[/code]

And Bob’s Your Uncle.




Removing Snap Apps

So many questions are answered by telling people to switch from their snap apps to regularly installed versions of the program. This is how you remove and disable them.

Fortunately, removing and disabling them is quite simple.

[code]sudo apt purge snapd
sudo rm -rf ~/snap
sudo rm -rf /var/snap
sudo rm -rf /var/lib/snapd
sudo reboot[/code]

That will not only disable the snaps and prevent you from installing them, it will also remove any that you have already installed. This will shave some time off your boot and save a tiny amount of system resources.