【问题标题】:Nvidia 9.2 CUDA toolkit nvcc install errorNvidia 9.2 CUDA 工具包 nvcc 安装错误
【发布时间】:2018-08-11 20:49:31
【问题描述】:

我正在尝试在 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

有什么帮助吗?

【问题讨论】:

  • 这是一个 Ubuntu 包管理问题,而不是任何与 CUDA 编程特别相关的问题,最好用 askubuntu 来问。

标签: nvidia nvcc


【解决方案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

【讨论】:

    猜你喜欢
    • 2023-03-17
    • 1970-01-01
    • 2016-08-24
    • 1970-01-01
    • 2018-11-09
    • 2014-09-21
    • 1970-01-01
    • 1970-01-01
    • 2013-03-10
    相关资源
    最近更新 更多