5

When upgrading the kernel without linux-modules-extra-xx-generic, my computer is losing network access after activating the kernel.

As I have WiFi access only (which is lost after the kernel upgrade), how can I install the package together with the kernel upgrade or upfront?

I'm using "Mainline Kernels" to install a new kernel.

You can see the current kernel from the screenshot.

enter image description here

Artur Meinild
  • 31,035

1 Answers1

2

The metapackage linux-image-generic always holds the latest kernel image, along with the linux-modules-extra-xx-generic package, which is evident by looking at the dependencies in the link above, or by running):

$ apt depends linux-image-generic
linux-image-generic
  Depends: linux-image-5.15.0-105-generic
  Depends: linux-modules-extra-5.15.0-105-generic
  Depends: linux-firmware
  Depends: intel-microcode
  Depends: amd64-microcode
  Recommends: thermald

So to upgrade both the kernel image and the extra modules package, simply install/upgrade this metapackage:

sudo apt install linux-image-generic

By default, Ubuntu will upgrade kernels (along with modules) if this metapackage is installed.

I would assume you somehow lost this metapackage, but we can't know for sure.

Artur Meinild
  • 31,035