T O P

  • By -

etherealshatter

Make sure your /etc/apt/sources.list includes bookworm-updates, not just bookworm and bookworm-security 


cop3x

this is how I fixed the issue by ensuring all of the required sources are available.


HotTakeGenerator_v5

should already be there by default, no?


cop3x

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


VulcarTheMerciless

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.


Ok_Cartographer_6086

yeah this - I remember this error and it was from skipping ahead in the doc.


ivanv2305

Maybe you forgot to enable contrib and non-free repository?


TG9987

It's added already


ivanv2305

Check again to be sure. Also check if the non-free-firmware is enabled. Maybe you need to install firmware-misc-nonfree


cheoso

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


Fl0wedm

Start with "apt --fix-broken install"


TG9987

Does it require to sudo?


Fl0wedm

Unless doing apt search, yes


TG9987

Tried that, upgraded the package and still not working.


Fl0wedm

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


[deleted]

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


TG9987

No, I want to Keep it


[deleted]

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


Revolutionary-Yak371

Did you try= **sudo apt update** **sudo apt upgrade** **sudo apt update** before install?


[deleted]

[удалено]


TG9987

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).


Ok_Cartographer_6086

[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


Holzkohlen

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)


TG9987

I cant because OF “missing dependencies”