I had this issue with sound Only "Dummy output" (sound) in Ubuntu 20.04 after reboot – Broken driver / module after a reboot.
I was missing package linux-modules-extra-5.4.0-40-generic
.
Now I rebooted again (I am not sure think I know if I also rebooted at some point in between), and I had no sound or wifi.
I checked and now I have kernel 5.4.0-42.46
, and I didn't have linux-modules-extra-5.4.0-42-generic
.
So I guessed there was an automatic kernel update (I don't recall doing it myself), without installing that package, waiting for me to reboot and suffer from the missing package.
My questions are:
- Why would an automatic kernel update not install
linux-modules-extra
? - Can I configure my system to have the package installed whenever an update takes place?
Related:
Best Answer
You need to have
linux-generic
meta package installed.It will pull all other necessary kernel packages including
modules
,modules-extra
,headers
, etc.This package may be missing if you manually removed some kernel packages.
To fix issues with missing kernel packages run in a terminal: