在ubuntu 22.04上安装cuda11.3时nsight相关失败

在ubuntu 22.04上安装cuda11.3时nsight相关失败

我正在尝试按照官方网站上的说明在 ubuntu 22.04 系统上安装 cuda 11.3: https://developer.nvidia.com/cuda-11-3-1-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04&target_type=deb_local 在此处输入图片描述

一切都很好,直到最后一行:

sudo apt-get -y install cuda

出现以下错误:

Preparing to unpack .../51-cuda-11-3_11.3.1-1_amd64.deb ...
Unpacking cuda-11-3 (11.3.1-1) ...
Selecting previously unselected package cuda.
Preparing to unpack .../52-cuda_11.3.1-1_amd64.deb ...
Unpacking cuda (11.3.1-1) ...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-aYjp8G/38-nsight-compute-2021.1.1_2021.1.1.5-1_amd64.deb
 /tmp/apt-dpkg-install-aYjp8G/40-nsight-systems-2021.1.3_2021.1.3.14-1_amd64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

好像是 nsight 出了什么问题?该怎么办?顺便说一句,我正在使用带有 515 驱动程序的 rtx 3090。

相关内容