Re: how to keep the most recent stable kernel?

Soren Stoutner <[email protected]>
Newsgroups gmane.linux.debian.backports.general
Message-ID <4638177.LvFx2qVVIh@soren-laptop>
On Thursday, November 7, 2024 10:02:36 AM MST Jens Schüßler wrote:
> * 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

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
[email protected]
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEJKVN2yNUZnlcqOI+wufLJ66wtgMFAmctT6wACgkQwufLJ66w
tgPR1xAAjtJgTkjZZTVTQBZsb66IkRNGwxBa/7s6kYQBja6cAZA3goufIGI08Hum
ZrlIWLS8yBheFK5lPb6A3ql1bjkADwEfQ6uJ5s3liLDiWBUxDbxzsn1kxrHK/JCI
rm2lJglMYY03+Ac0Z3atISVOopAitu/Bp5/sWv76p8RY88V5nU+JOQzovGQ7Pgan
t0kTvpIghqGIF5iIO5FkFQHgkmIf8/cIPhGHqUj/mnV9vcCCzPqxYgBF1V9KKtQe
TYLogTnkEzAZgO0fXOTTuG6O8VSE6+dILsDztapZP08Ili3/QXh7gmDRzBfCskTD
YT6SGxJjn3eNjoeKSiH9/uZXZkli+LvroEMYoNlwUw+lZ5DgqrKa6f0u+5CTRYMr
4OaKfBmFaLKe62b3ZBjlMIQ1jlAJ+VdBLMbgHIzC5i/e6iOgZl7VjfvCV6pNHTYY
HQWgTZwXtMEoalWCqHvfDZglYWUzNdWrFQ/6IKv6tzfVBDxTOMXeOATO+rYyyB40
XLAK10fdnKxcW7hOGrlDdBsKixSJIdmZf5UuNUBsDINsm3Yg81j4FkhMYYkwa7Nr
RH+TcdNqcOhOt4vtU31mLjbStJdtzfxeH9QugRUSALx0tRIb4nvc1uwDQV5kEORw
ZQSlIYxDhRQGs+N6RXPsrxiU6nCMlzofaBq7c8GjzIgjVLUZbaI=
=ncOh
-----END PGP SIGNATURE-----
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.