Plebian-Linux / quartz64-images

GitHub Actions Repository for automatically generated images for the Quartz64 family of single board computers
https://plebian.org
GNU General Public License v3.0
41 stars 10 forks source link

How to enable 'Experimental' kernel on a Bookworm system #1

Closed diederikdehaas closed 1 year ago

diederikdehaas commented 1 year ago

I still have no clue about debos and I've just configured a Rock64 for exactly this scenario (and it seems you'll get to this soon), so I figured I'll just describe it in an issue.

1) Add sid and experimental to your sources.list file. (you can also put those in /etc/apt/sources.list.d/ dir, but I prefer them in 1 file) 2) Make Bookworm the Default Release as follows: Create a new file /etc/apt/apt.conf.d/40default-release with the following contents:

APT::Default-Release "bookworm";

3) Ensure that packages (i.e. the Debian kernel), installed from Experimental get upgraded when a new version lands in Experimental (normally that happens automatically, but Experimental is different), as follows: Create a new file /etc/apt/preferences.d/50experimental with the following contents:

Package: *
Pin: release a=experimental
Pin-Priority: 101

Once the 6.1 kernel has been uploaded to Sid (which will be with a higher version), then you won't need Experimental anymore and can safely remove both the /etc/apt/preferences.d/50experimental file as the line referencing experimental from your sources.list

HTH