我正在嘗試按照官方網站上的說明在 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。