自从我从16.04升级到18.04以来,我一直看到以下消息:
➜ ~ hwe-support-status
You have packages from the Hardware Enablement Stack (HWE) installed that
are going out of support on 2023-04-30.
To upgrade to a supported (or longer-supported) configuration:
* Upgrade from Ubuntu 16.04 LTS to Ubuntu 18.04 LTS by running:
sudo do-release-upgrade -p
OR
* Switch to the current security-supported stack by running:
sudo apt-get install linux-generic-hwe-18.04
and reboot your system.
➜ ~ hwe-support-status --show-all-unsupported
➜ ~ hwe-support-status --show-replacements
linux-generic-hwe-18.04
➜ ~ sudo apt-get install linux-generic-hwe-18.04
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-generic-hwe-18.04
E: Couldn't find any package by glob 'linux-generic-hwe-18.04'
E: Couldn't find any package by regex 'linux-generic-hwe-18.04'
➜ ~ sudo do-release-upgrade -p
Checking for a new Ubuntu release
No new release found.
➜ ~ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
➜ ~
有人知道为什么会发生这种情况吗?
linux-generic-hwe-16.04
的包。请参考此页面。 - N0rbertapt policy linux-generic*
命令,你可以看到你安装了哪些类型的内核包。只要你安装了另一个内核包,你很可能可以直接删除有问题的hwe包。 - Organic Marble