I tried to update my Debian system like normal, and one of the updates was for the kernel, from 6.1.0-17 to 6.1.0-18. However, it seems like there is some incompatibility with the most recent nvidia driver for my card (GTX 1050 (mobile ver.), driver ver. 535) and the most recent kernel.
So, what I tried to do was hold the update by
sudo apt-mark hold linux-image-6.1.0-18 linux-headers-6.1.0-18
By then though, it had already done a somewhat complete install. But, from what I understood, it did so by doing something to the nvidia drivers to make them stop working. I confirmed this by putting down:
nvidia-smi
and got nothing back. So, I went to the Debian repository and installed an earlier version of the driver:525 (doing so automatically deleted 535). This seemed to fix things for a while, as I used:
sudo apt update
and it showed no further problems. Until I tried to install something, and it popped up a new error with something called dracut
. I know dracut is some part of the kernel, but I can't make heads or tails of this error. I do know it relates to the nvidia drivers, as it said so in the error. What do I do about this, I am afraid to restart my computer?