On Wed, Jan 22, 2025 at 01:00:49AM +0100, Marco Möller wrote: > On 1/22/25 00:10, George at Clug wrote: > > I apologise, but I do not understand what it is you want to achieve or what > > it is that you are asking. > > > > Can you please give more explanation? > > I want to install the currently highest version of kernel 6.12 from > bookworm-backports to my Bookworm. Upon some "apt update && apt upgrade" I > want this kernel to become upgraded whenever in backports becomes available > a higher version of kernel 6.12, like having 6.12.9 and getting 6.12.10. But > I do not want this upgrade to step up to the 6.13 versions. > For comfortably running the upgrades in an unattended way, I expect that I > might need some pinning to allow all newer 6.12.x versions to become drawn > in when available, but to not allow any higher kernel version than 6.12.x, > so not allowing any 6.13 to become drawn in. >
If you install security fixes automatically - there is an option to do this - then the running kernel version will not change until you reboot the machine. Others have pointed out that you have to opt-in to upgrade backports packages. If you choose to use the bookworm-backports version of the kernel: 6.12 is the LTS version. Unless there is some catastrophic security bug that affects it, Debian will carry on using the LTS version and will not move forwards to 6.13 or whatever. Updates to 6.12 will continue. The backport comes from the kernel in Debian testing but built using the tools in Debian stable. That kernel is 6.12. When testing becomes stable in a few months time as Debian 13 (Trixie), you will still have 6.12. A dist upgrade to Debian 13 will update all packages but the base kernel version is still likely to be 6.12 for the lifetime of Trixie (unless there are security changes which force a move of kernel version.) Hope this helps, Andrew Cater (amaca...@debian.org) > It seems to obvious to me, that I should not install from backports the > package "linux-image-amd64", because this I expect to always point to the > very newest kernel version, but not restricting to the 6.12 series of kernel > versions. If there would be a "linux-image-6.12" package, then I would be > done. Easy. But such "linux-image-6.12" meta-package is not available in > bookworm-backports. > So, I either install now manually a particular version like > "/bookworm-backports/kernel/linux-image-6.12.9+bpo-amd64-unsigned" and put > it on hold and then manually check if some > "linux-image-6.12.10+bpo-amd64-unsigned" (or higher 6.12.maintenanceVersion > number) would arrive in the backports repository and then upgrade to it > manually, repeating this manual procedure very frequently, or I find out how > to configure some pinning or whatever for automation of some 6.12 series > restricted upgrades. > > My question is what do I have to configure for letting apt upgrade the > backported kernel 6.12 automatically to the newest linux-image-6.12.x > version without upgrading beyond any 6.12 kernel, for instance not > automatically upgrading to any backported kernel 6.13.x version. >