Whenever a kernel update is available through apt update the following packages do not get installed:

(these from the latest kernel upgrade)

  • linux-headers-5.8.0-40-generic
  • linux-hwe-5.8-headers-5.8.0-40
  • linux-modules-extra-5.8.0-40-generic

I have to install them manually.

This may be related to the first kernel update to my system failing part way through because the keyutils package was not installed and I have encrypted disks. I had to manually install the missing packages.

This is a fresh install of ubuntu not and upgrade

  • You are correct. This happened because there was a failure in the process of package upgrades. – Pilot6 Jan 21 at 14:27
  • Is linux-image-generic-hwe-20.04 installed? – Pilot6 Jan 21 at 14:29
  • Nope linux-image-generic-hwe-20.04 is not installed? – felix mason Jan 21 at 14:35
  • So this is the reason. – Pilot6 Jan 21 at 14:36
  • Superb thanks hopfully that will fix the problem – felix mason Jan 21 at 14:38

These packages are dependencies of linux-image-generic-hwe-20.04 and linux-headers-generic-hwe-20.04 meta packages.

It is hard to tell why they are not installed, but you can fix the issue by running

sudo apt install linux-generic-hwe-20.04

It should install both meta packages.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.