CUDA install unmet dependencies: cuda : Depends: cuda-10-0 (>= 10.0.130) but it is not going to be installed

Same problem as I installed the nvidia-415 for my rtx 2070.
You should take a look at this.
https://askubuntu.com/questions/598607/package-dependency-problem-while-installing-cuda-on-ubuntu-14-04
I resolved it by using the tool mentioned in one of those answers: aptitude
While it did not fix it directly, it pointed out that I got the wrong version of libgl1-mesa-glx.
I looked for the specified version and installed it.
After that, I can run sudo apt-get install cuda
and it did removed my nvidia-415 and installed the nvidia-410.

7 Likes