24
Installing nvidia driver installs a new kernel [SOLVED, LOOK IN THE COMMENTS]
(lemmy.blahaj.zone)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Which kernel is it trying to install?
Did you go through the steps required for Secure Boot?
Could be messed up dependencies in the apt repo. I've been this many times, in many distros, over the years.
In any case, I recommend getting the latest driver directly from Nvidia. It's easier to keep it outside the apt ecosystem than to wrestle with overriding outdated dependencies. Plus you get the newer driver, and honestly, Nvidia's installer is easier than Debian's (particularly if you have Secure Boot enabled).
So what you are saying is that it makes more sense to get the driver from nvidias webiste?
Yes, that is my recommendation. I'm sure plenty of people will disagree, but personally I have had too many headaches with other sources.
Get them from here: https://www.nvidia.com/en-us/drivers/unix/
For what it's worth, I am running on Debian now, using the "new feature branch" driver, which is currently version 545. This is newer than what's in Debian's repos (and most other distros too, for that matter). I've also performed kernel updates since installing it, without issue.
If you have Secure Boot enabled in your motherboard firmware, be sure to follow the steps on signing the kernel module available here: https://us.download.nvidia.com/XFree86/Linux-x86_64/545.29.06/README/installdriver.html#modulesigning . Nvidia's installer will prompt you about this (unlike Debian's!) but can't do all the steps for you.
If you're not sure if you have secure boot enabled, you can run
mokutil --sb-state
in a terminal to see.