Comment 1 for bug 2017236

Revision history for this message
Olivier Gayot (ogayot) wrote :

Thanks for the bug report James.

You are right, we currently append the version number that we read from /etc/lsb-release. This is obviously the wrong way to determine the latest installable version.

We could lean on `distro-info --lts --release` but this will also produce wrong results in versions before jammy.

We might have to resort on `apt-cache search` or a similar command, unless there is a way to query the latest available hwe kernel version.