1

The problem occurred on my PC with Ubuntu 20.04 and Nvidia GeForce RTX 2070.

I tried to install the newest CUDA SDK and had problems with drivers so following various tutorials so following many tutorials I purged Nvidia drivers being willing to install newer ones, but after reboot choosing Ubuntu in GRUB, I get no signal (a blank screen).

To fix it I had run Ubuntu Recovery Mode (with internet connection) with root terminal and tried to install drivers. The problem is that I am unable to install any Nvidia drivers now because the dkms package is missing and I cannot install it, constantly giving this message:

E: Package 'dkms' has no installation candidate

Does anyone have an idea how could I install dkms and so as the drivers and get my Ubuntu running properly again?

Results of sudo apt update, sudo apt upgrade and sudo apt install dkms:

enter image description here

karel
  • 122,292
  • 133
  • 301
  • 332

1 Answers1

2

Adding repository main using:

sudo apt-add-repository main

fixed the problem.