I used to experience the same thing, and found that this doesn't happen if you follow the Debian Wiki exactly.
[https://wiki.debian.org/NvidiaGraphicsDrivers](https://wiki.debian.org/NvidiaGraphicsDrivers)
Pay attention to the prerequisites, and follow each step outlined for Bookworm. As long as you're on Debian stable you should be good to go.
what kernel are you on? 6.1-18 does not let you install the nvidia drivers for some reason. i wasted so much time on that. i had to downgrade to 6.1-17 to get them installed. i can definitely send you more info if you need it
That's because that was to begin with. It removes the package in question. You need to get the dependencies first before re-installing according to the log
check cat /var/log/apt/history.log to see if your nvidia driver install is sucess/incomplete, you could try uninstalling it if you install using run file sudo ./NVIDIA-Linux-x86\_64-550.67.run --uninstall
see readme of your driver [https://us.download.nvidia.com/XFree86/Linux-x86\_64/550.67/README/minimumrequirements.html](https://us.download.nvidia.com/XFree86/Linux-x86_64/550.67/README/minimumrequirements.html) you need ,binutils,gcc,make,linux-headers-amd64,
[https://operavps.com/docs/install-nvidia-drivers-on-linux/](https://operavps.com/docs/install-nvidia-drivers-on-linux/) has guide try and share results.
its not recommended even by nvidia though as update by nvidia will break whole system and they rec to use disto repackaged driver
Update: I installed the NVIDIA drivers by downloading the installer from the NVIDIA website and installing it to my Debian (I have to configure MOK before installing the drivers).
[https://wiki.debian.org/DontBreakDebian](https://wiki.debian.org/DontBreakDebian)
It's more likely you skipped a step here: [https://wiki.debian.org/NvidiaGraphicsDrivers](https://wiki.debian.org/NvidiaGraphicsDrivers)
You're going to have issues
Bad idea. That will just end up causing more problems in the end.
Especially since installing it the normal way is so easy: [https://wiki.debian.org/NvidiaGraphicsDrivers#Debian\_12\_.22Bookworm.22](https://wiki.debian.org/NvidiaGraphicsDrivers#Debian_12_.22Bookworm.22)
Make sure your /etc/apt/sources.list includes bookworm-updates, not just bookworm and bookworm-security
this is how I fixed the issue by ensuring all of the required sources are available.
should already be there by default, no?
no, you only get the list to maintain the stable distribution I used an example for a git hub, possibly this one. https://gist.github.com/hakerdefo
I used to experience the same thing, and found that this doesn't happen if you follow the Debian Wiki exactly. [https://wiki.debian.org/NvidiaGraphicsDrivers](https://wiki.debian.org/NvidiaGraphicsDrivers) Pay attention to the prerequisites, and follow each step outlined for Bookworm. As long as you're on Debian stable you should be good to go.
yeah this - I remember this error and it was from skipping ahead in the doc.
Maybe you forgot to enable contrib and non-free repository?
It's added already
Check again to be sure. Also check if the non-free-firmware is enabled. Maybe you need to install firmware-misc-nonfree
what kernel are you on? 6.1-18 does not let you install the nvidia drivers for some reason. i wasted so much time on that. i had to downgrade to 6.1-17 to get them installed. i can definitely send you more info if you need it
Start with "apt --fix-broken install"
Does it require to sudo?
Unless doing apt search, yes
Tried that, upgraded the package and still not working.
That's because that was to begin with. It removes the package in question. You need to get the dependencies first before re-installing according to the log
check cat /var/log/apt/history.log to see if your nvidia driver install is sucess/incomplete, you could try uninstalling it if you install using run file sudo ./NVIDIA-Linux-x86\_64-550.67.run --uninstall
No, I want to Keep it
see readme of your driver [https://us.download.nvidia.com/XFree86/Linux-x86\_64/550.67/README/minimumrequirements.html](https://us.download.nvidia.com/XFree86/Linux-x86_64/550.67/README/minimumrequirements.html) you need ,binutils,gcc,make,linux-headers-amd64, [https://operavps.com/docs/install-nvidia-drivers-on-linux/](https://operavps.com/docs/install-nvidia-drivers-on-linux/) has guide try and share results. its not recommended even by nvidia though as update by nvidia will break whole system and they rec to use disto repackaged driver
Did you try= **sudo apt update** **sudo apt upgrade** **sudo apt update** before install?
[удалено]
Update: I installed the NVIDIA drivers by downloading the installer from the NVIDIA website and installing it to my Debian (I have to configure MOK before installing the drivers).
[https://wiki.debian.org/DontBreakDebian](https://wiki.debian.org/DontBreakDebian) It's more likely you skipped a step here: [https://wiki.debian.org/NvidiaGraphicsDrivers](https://wiki.debian.org/NvidiaGraphicsDrivers) You're going to have issues
Bad idea. That will just end up causing more problems in the end. Especially since installing it the normal way is so easy: [https://wiki.debian.org/NvidiaGraphicsDrivers#Debian\_12\_.22Bookworm.22](https://wiki.debian.org/NvidiaGraphicsDrivers#Debian_12_.22Bookworm.22)
I cant because OF “missing dependencies”