Troubleshooting
5. Troubleshooting DKMS Modules
In case of DKMS Module Building Failure
See the Guide on Removing DKMS Kernel Modules.And then generate again the Initramfs, here the Command to rebuild All:
sudo update-initramfs -uk all
Then reboot with:
sudo reboot
5. Removing Kernel 5.8
Finally, in any case to Delete the Kernel
First, query the Packages Database with:dpkg -l | grep linux
Then to Delete the Kernel for instance use:
sudo apt purge linux-image-unsigned-5.8.0-050800-generic
Do the same also for the Headers and the Modules.
Then remove also the Modules Directory with:sudo rm -rf /lib/modules/5.8.0-050800-generic
Congratulations, you can now Ride a New Kernel 5.8 on Ubuntu 20.04!