From 74b38880954aa5b3140eceb0a6957917cc78653b Mon Sep 17 00:00:00 2001 From: steeb Date: Fri, 15 Nov 2024 19:30:42 -0700 Subject: [PATCH] Add Software Notes --- Software-Notes.md | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Software-Notes.md diff --git a/Software-Notes.md b/Software-Notes.md new file mode 100644 index 0000000..fb3bf28 --- /dev/null +++ b/Software-Notes.md @@ -0,0 +1,43 @@ +### 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 + +``` +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. \ No newline at end of file