Re: how to keep the most recent stable kernel?

Jens Schüßler <[email protected]>
Newsgroups gmane.linux.debian.backports.general
Message-ID <[email protected]>
* Soren Stoutner <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.