ยง2024-12-08
Was buit by `
- check version
bootFromExternalStorage-r35.4.1
uname -a
Linux JetsonOrinNano 5.10.120-tegra #1 SMP PREEMPT Tue Aug 1 12:32:50 PDT 2023 aarch64 aarch64 aarch64 GNU/Linux
alexlai@JetsonOrinNano:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
sudo apt update && sudo apt -y upgrade && sudo apt install nvidia-cuda-toolkit
sudo apt install nvidia-cuda-toolkit
error
sudo apt install nvidia-cuda-toolkit
....
The following packages have unmet dependencies:
nvidia-cuda-toolkit : Depends: nvidia-cuda-dev (= 11.5.1-1ubuntu1) but 6.1+b123 is to be installed
Recommends: nvidia-cuda-toolkit-doc (= 11.5.1-1ubuntu1) but it is not going to be installed
Recommends: nvidia-cuda-gdb (= 11.5.114~11.5.1-1ubuntu1) but it is not going to be installed
Recommends: nsight-compute (= 2021.3.1.4~11.5.1-1ubuntu1)
Recommends: nsight-systems (= 2021.3.3.2~11.5.1-1ubuntu1)
E: Unable to correct problems, you have held broken packages.
Then,
$ sudo apt install nvidia-cuda-dev=11.5.1-1ubuntu1
$ sudo apt install nvidia-cuda-toolkit