3 Software Notes
steeb edited this page 2024-11-15 19:31:39 -07:00

Software Notes

These probably do not belong in the network notes wiki, but then again, I'm using this entire Git incorrectly by using it for exclusively the wiki functionality. Oops.

Debian

Installing the unstable kernel on a stable installation

A plain Debian installation did not see the Intel i226-v NIC, so this is a possible workaround for that. Untested until this weekend when I have time to sit down with it.

First, edit /etc/apt/sources.list to add the lines for the Debian unstable repo

sudo nano /etc/apt/sources.list
deb http://deb.debian.org/debian unstable main contrib non-free
deb-src http://deb.debian.org/debian unstable main contrib non-free

Do not update at this point or you will upgrade the entire system.

Next, modify /etc/apt/preferences - this file likely does not exist on your system, currently.

nano /etc/apt/preferences

Contents:

Package: *
Pin: release a=bookworm
Pin-Priority: 500

Package: linux-image-amd64
Pin:release a=unstable
Pin-Priority: 1000

Package: linux-headers
Pin:release a=unstable
Pin-Priority: 1000

Package: *
Pin: release a=unstable
Pin-Priority: 100

Keep in mind, this will fix the installation onto bookworm and will need to be modified to upgrade to trixie when it is released. The first section pins all packages to bookworm, the second and third section pin the linux-kernel-amd64 and linux-headers packages to unstable, the last section simply de-prioritizes the unstable repo so that it is not automatically upgraded from for any other packages.