[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to keep the most recent stable kernel?



On Thursday, November 7, 2024 10:02:36 AM MST Jens Schüßler wrote:
> * Soren Stoutner <soren@debian.org> wrote:
> > On Thursday, November 7, 2024 9:03:56 AM MST Matus UHLAR - fantomas wrote:
> > > yeah, bookworm-backports version of linux-image-amd64 should install
> > > last
> > > backported version of amd64 kernel
> > > 
> > > But with backports you must _explicitly_ install the backport version of
> > > those metapackages.
> > 
> > If you set apt to prefer backports over stable, then it will automatically
> > update.
> > 
> > For example, you can create the following file:
> > 
> > /etc/apt/preferences.d/bookworm-backports
> > 
> > With these contents:
> > 
> > Package: *
> > Pin: release n=bookworm-backports
> > Pin-Priority: 600
> 
> …which is not the recommended way, to get all backports, no matter what.
> Backports should always be installed explicitely. They will be upgraded
> automatically if there is a newer version on bpo, without hacking the
> /etc/apt/preferrences
> 
> YMMV

If you don't want to enable automatic updates for all backports packages, you 
can do so just for a specific package by changing the "Package: *" line.

Package: linux-image-amd64

There are a few syntax examples at:

https://wiki.debian.org/AptConfiguration

-- 
Soren Stoutner
soren@debian.org

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: