Background info:
I pop into this every few months and last time , I had learned that when updating, instead of signing nvidia modules over and over, Debian does it automatically if you uncomment the helper script part of framework.conf at /etc/dkms, and put your secure boot mok keys in the right spots
Anwyay, I tried updating,
I got these weird errors
Code: Select all
2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up nvidia-kernel-dkms (470.161.03-1) ... Removing old nvidia-current-470.161.03 DKMS files... Loading new nvidia-current-470.161.03 DKMS files... Error! DKMS tree already contains: nvidia-current-470.161.03 You cannot add the same module/version combo more than once. dpkg: error processing package nvidia-kernel-dkms (--configure): installed nvidia-kernel-dkms package post-installation script subprocess returned error exit status 3 dpkg: dependency problems prevent configuration of nvidia-driver: nvidia-driver depends on nvidia-kernel-dkms (= 470.161.03-1) | nvidia-kernel-470.161.03; however: Package nvidia-kernel-dkms is not configured yet. Package nvidia-kernel-470.161.03 is not installed. Package nvidia-kernel-dkms which provides nvidia-kernel-470.161.03 is not configured yet.
dpkg: error processing package nvidia-driver (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: nvidia-kernel-dkms nvidia-driver
So, i was at a loss as to what this meant. My guess is that I am a noob when it comes to updating debian and doing it with nvidia drivers while in Secure Boot
Anyway I poked around though and discovered, in lib/modules/ , I have
5.10.0-11-amd64
5.10.0-13-amd64
5.10.0-15-amd64
5.10.0-18-amd64
5.10.0-21-amd64
But, I don't see /updates/dkms/ , with nvidia-current-drm.ko nvidia-current.ko nvidia-current-modeset.ko nvidia-current-uvm.ko
in any but the
5.10.0-11-amd64
directory. So those are only in /usr/lib/modules/5.10.0-11-amd64/updates/dkms
The others dont even have the updates folder?????
Well first, 11 is not ..the kernel i'm using...I'm using 21. 11 was purged with apt auto remove
Does this mean my current kernel, 21, isn't grabbing NVIDIA drivers from the update process and signing them, but just doing nothing?
So, I'm now totally confused- How do i update debian ,and get the latest nvidia drivers in the right spot(if that's indeed the error)? I saw stuff about dkms is supposed to recompile drivers but don't know what that fully means- it seems to be what my system did not do.
Or is everyone out there literally having to resign drivers over and over again/ I was told this isn't a thing anymore with dkms and updates and auto-signing.
Isn't sudo apt upgrade supposed to get you the newest Nvidia drivers if you already have some? I am having trouble seeing if i have the latest- and if i do, why they weren't put in the right kernel folder.