Nvidia 9.2 CUDA工具包NVCC安装错误

时间:2018-08-11 20:49:31

标签: nvidia nvcc

我正在尝试在Ubuntu 16.04上使用

安装CUDA工具包。
sudo apt-get install cuda

并继续出现以下错误:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 cuda : Depends: cuda-9-2 (>= 9.2.148) but it is not going to be 
installed
E: Unable to correct problems, you have held broken packages

有什么帮助吗?

1 个答案:

答案 0 :(得分:-1)

选项1:

sudo apt-get install cuda-runtime-9-2
sudo apt-get install cuda-9-2
sudo apt-get install cuda

选项2:

sudo apt-get install aptitude
sudo aptitude install cuda