r/linuxquestions • • 3d ago

Why Ubuntu LTS not using LTS kernel

Lts kernels: 6.18, 6.12, 6.6, 6.1 etc (src: https://www.kernel.org/category/releases.html)
but Ubuntu Lts usually has more modern kernel with shorter suport eg. Ubuntu 24.04 LTS has 6,8 kernel by default and HWE kernels 6.11, 6. 14 etc. so Ubuntu LTS alway skips LTS kernels 😊
btw. do You know which distros using Lts kernels by default?

0 Upvotes

16 comments sorted by

6

u/candy49997 3d ago

There is only about 1 LTS kernel per year. Ubuntu has a new release every 6 months. The schedules just don't align in the first place. And Canonical backports fixes themselves.

Debian usually tries to release with an LTS kernel. Arch also has the latest LTS in their repos.

5

u/gehzumteufel 3d ago

The number of releases Ubuntu has in a year is really irrelevant. The release that comes out in April of the even year has 3 releases between the next LTS Ubuntu version, and the LTS kernel version comes out the preceding November/December typically. So right now for example, 7.4 will be the LTS from 2026. 6.18 is the LTS from 2025 and they could have run with that one, but they didn't.

They've chosen to not explicitly bother with the LTS kernel in the LTS sense and just keep releasing the next version and upgrade as they see fit. And generally this is better imo. It means for everyone running Ubuntu, they are closer to upstream than not for any given LTS Ubuntu release. Unlike with RHEL that you end up with a totally weird hybrid chimera.

6

u/C0rn3j 3d ago

They're not even using the stable kernel, they're using an RC release and are naming it wrong.

i.e. "7.3.0" is iirc 7.3.0rc4 actually.

5

u/kudlitan 3d ago

An LTS kernel means the upstream maintainers (supported by the Linux Foundation) maintain that kernel version on kernel.org.

Ubuntu does not need that. Canonical itself maintains the kernel of its LTS versions.

Upstream LTS kernels are maintained for 2 years (typically extended to 3–6 years), whereas Ubuntu LTS kernels are maintained for 10 years. Since Canonical maintains it long after upstream drops it anyway, it doesn't benefit Ubuntu to wait for an upstream LTS kernel.

Because Ubuntu maintains its own kernels, they have the luxury to use the latest kernel available by the time they release any new versions, rather than use the older LTS kernels.

4

u/gordonmessmer Fedora Maintainer 3d ago

There are a couple of likely reasons. First, as u/candy49997 mentions, there is the release alignment.

Additionally, you should understand that an LTS release (and most stable release branches) are maintained by cherry-picking changes from a development branch back to the stable release branch. The LTS kernels are good for software vendors whose development policies align. If they agree on what class of changes should be cherry-picked into the LTS kernel, then they can collaborate on its maintenance and they all benefit. But if a distribution (for example) has an agreement with their customers that describes the acceptable class of changes in their kernel that doesn't align with the expectations of the LTS kernel branch maintainers, then the distribution has to cherry-pick changes on their own and the version isn't going to match an LTS release series.

2

u/tomscharbach 3d ago

Canonical maintains Ubuntu's installed kernel.

You might find Ubuntu kernels from Canonical and Ubuntu kernel variants and branches useful resources for understanding the "how and why" of Ubuntu kernel maintenance.

My best.

2

u/magicmitch-thinkpad Debian Stable sur Thinkpad L390 2d ago

debian

1

u/SaltyBalty98 3d ago

Probably because it's best to run a newer version of the kernel so when Ubuntu LTS is the latest release it'll run on the latest hardware, and later on when a Linux LTS release comes out it'll get pushed to the current Ubuntu LTS.

Also, previous versions of Ubuntu serve as testing releases for the following LTS to have properly reviewed code and the kernel that comes on them is also tweaked by Ubuntu.

At no point is Ubuntu LTS coming out as an unfinished or unstable release

1

u/BranchLatter4294 3d ago

There is no particular reason that Ubuntu LTS should use an LTS kernel. Ubuntu manages their own kernel updates, especially because they need to support live kernel patching which most other distros don't have to worry about.

1

u/RomanOnARiver 3d ago edited 3d ago

In general you gotta look at how the Ubuntu repositories are arranged. You have main that's the software that is maintained and updated by Canonical, and you have universe which represents the universe of available Free software, this repository, which is off by default, does not get maintained by Canonical.

The kernels are in main, that means Canonical has agreed explicitly to be responsible for pushing new versions or patching the security, etc.

So it isn't a matter of what does the kernel call LTS necessarily, it's what does Canonical commit to maintaining.

Why do they sometimes prefer newer kernels? Generally newer kernels means newer and better - hopefully - support for newer and better hardware. So you want to be closer to the newer side for better support for say the new laptops coming out that people want to run Ubuntu on.

1

u/guiverc 3d ago

Ubuntu LTS releases have multiple supported kernels, with the GA & HWE option with security fixes backported, as well as some OEM options.

The Ubuntu Kernel team decide/plan which kernels they'll support for the 15 years provided by LTS, ESM & legacy options; where the linux offering of some shorter LTS support doesn't reduce the burden much at all, but also usually means LTS releases will release with an older kernel & thus have more longer-term costs anyway. Two years of upstream LTS kernel support doesn't cover much of the 15 years for LTS/ESM/legacy duration.

Canonical is a company with specific aims; and financial costs weigh into the decision, as with all companies (public & private).

1

u/BoringLime 3d ago

Typically with Ubuntu lts releases they avoid major updates to every package major version and do security back ports, instead. The main difference in an Ubuntu lts release is it's long support cycle and minimal package reconfigurung needed over that time from package updates. Otherwise it would be the same as a normal release, and you basically going through major Ubuntu version updates twice a year, and having to look everything over and see what is broken. Ie rolling release distro.

0

u/UltimateOmlette 3d ago

On Ubuntu I just lock kernel updates, because I'm tired with updates.  But I also have VM with Debian 12 and it's still on 6.1 kernel nothing changed everything working stable 😀

1

u/rsgbc 3d ago

If changing kernel version numbers bothers you for some reason, install the Ubuntu GA kernel (aka "generic"). Kernel version (i.e. "major" and "minor" release, eg. "6.8") remains the same for the lifecycle of the LTS Ubuntu version.

-3

u/ipsirc 3d ago

Because Canonical always makes bad decisions.

2

u/aieidotch 3d ago

No idea why the downvotes, but you are so right. Since the poster asked who does it right: debian.org