Избегайте отсутствия ядра linux-modules-extra-XX-generic при обновлении ядра

У меня была проблема со звуком Только "Пустой вывод" (звук) в Ubuntu 20.04 после перезагрузки - Сломанный драйвер / модуль после перезагрузки. Мне не хватало пакета linux-modules-extra-5.4.0-40-generic .

Теперь я снова перезагрузился (я не уверен думаю, что знаю , если я также перезагружался в какой-то момент), и у меня не было звука или Wi-Fi. Я проверил, и теперь у меня есть ядро ​​ 5.4.0-42.46 , и у меня не было 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:

  1. Why would an automatic kernel update not install linux-modules-extra?
  2. Can I configure my system to have the package installed whenever an update takes place?

Related:

Kernel modules missing after update to 5.4.0-37

What is the linux-image-extra package for and do I need it?

0
задан 8 August 2020 в 14:19

1 ответ

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:

sudo apt install linux-generic
0
ответ дан 11 August 2020 в 20:09

Другие вопросы по тегам:

Похожие вопросы: