I may have messed up with nvidia drivers.

solved!

I'm running Ubuntu 20.04 and after installing drivers for my GPU I no longer get any video output after the boot screen and when I try to install/uninstall anything through SSH I get this (have tried the fix broken install and same error):

You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: cuda-drivers-460 : Depends: libnvidia-gl-460 (>= 460.32.03) but it is not going to be installed libnvidia-ifr1-460 : Depends: libnvidia-gl-460 but it is not going to be installed nvidia-driver-460 : Depends: libnvidia-gl-460 (= 460.32.03-0ubuntu1) but it is not going to be installed Recommends: libnvidia-compute-460:i386 (= 460.32.03-0ubuntu1) Recommends: libnvidia-decode-460:i386 (= 460.32.03-0ubuntu1) Recommends: libnvidia-encode-460:i386 (= 460.32.03-0ubuntu1) Recommends: libnvidia-ifr1-460:i386 (= 460.32.03-0ubuntu1) Recommends: libnvidia-fbc1-460:i386 (= 460.32.03-0ubuntu1) Recommends: libnvidia-gl-460:i386 (= 460.32.03-0ubuntu1) E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Posted Mar 12, 2021, 4:53 AM UTC

23
LP0249OP•

I've been trying everything (what little) I can think of and my google fu is no match for the monster that is nvidia linux drivers. Plz help

1
FryBoyter•

Instead of saying you have already tried everything, it would be better to state what you have already tried (http://www.catb.org/~esr/faqs/smart-questions.html). That way, you won't get the same suggestions again.

At https://forums.developer.nvidia.com/t/failed-to-install-nvidia-drivers-apt-fix-broken-install-not-working/73818, for example, a user links to a thread in a forum with which he was able to solve the problem. I have no idea whether you have already tried that. So I would recommend you to try this.

3
LP0249OP•

Thank you so much, that fixed everything. And you're right, I kinda stopped thinking by that point. Helps when I don't stay up half the night trying to fix things

2