The 'backports' Debian repo can be useful for when running slightly older Debian version (e.g. oldstable) on a newer computer (that may require a newer kernel).
For example on Bullseye the latest default kernel is 5.10.0-23, but can be upgraded to kernel v6.1 by using the backports repository.
How create a backports "kernel package" on DD Bullseye:
- add to /etc/apt/sources.list : deb http://ftp.de.debian.org/debian bullseye-backports main
and update package lists; apt update
- install latest "upgrade-kernel" package (updated recently, v1.10 for bullseye): apt install upgrade-kernel
- run upgrade-kernel
from terminal (or run from Menu)
- choose the latest kernel version (from backports, currently it's v6.1), screenshots of how I did:
For Bookworm it should be similar as above, but it seems there is no kernel available yet in the backports repo, but when at some time there is, add to sources list :
deb http://ftp.de.debian.org/debian bookworm-backports main
and further do the same as above.