'linux-generic-hwe-18.04' not found after upgrade to 18.04

Since upgrading to 18.04 from 16.04 I have been seeing the following message:

➜ ~ 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
➜ ~

Does anyone know why this is happening?

4

2 Answers

No specific hwe or lts linux-image is yet required for 18.04 (so it doesn't exists). Ensure first that linux-image-generic image is installed:

 apt install linux-image-generic

Then remove old hwe or lts linux images, in my case I did:

apt purge linux-image-generic-lts-xenial

Then the hwe-support-status command returns a clean empty response.

1

I had an old unsupported Linux kernel installed, discovered using

# apt policy linux-generic\*

Remember to run

# apt autoremove
to remove any unused dependencies which may also be picked up by hwe-support-status.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like