Hello to everyone.
Unfortunately I made a mistake,I tried to install cuda 11 on the jetson nano and I read that this is not supported,here :
even if there are some websites that explain how to do it,for example this one :
https://laptrinhx.com/install-cuda-11-on-jetson-nano-and-xavier-nx-1641215308/
Now I’m stuck with a lot of unresolved dependencies and I don’t know how to fix it. Someone wants to give some help ? thanks. Below you can see what happens when I try to update & upgrade the packages. I’ve already tried a whole day to remove cuda 11 and its dependencies but I turned around in circles. I think that this shouldn’t happens. If it happens there is a bug somewhere.
root@zi-desktop:~/Desktop/jetsonUtilities# apt update
Get:1 file:/var/cuda-repo-ubuntu1804-11-0-local InRelease
Ign:1 file:/var/cuda-repo-ubuntu1804-11-0-local InRelease
Get:2 file:/var/cuda-repo-ubuntu1804-11-0-local Release [564 B]
Get:2 file:/var/cuda-repo-ubuntu1804-11-0-local Release [564 B]
Hit:3 http://archive.canonical.com/ubuntu bionic InRelease
Hit:4 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease
Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88,7 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe Sources [450 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main Sources [511 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main armhf Packages [1.121 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1.265 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main Translation-en [413 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 DEP-11 Metadata [289 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1.529 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe armhf Packages [1.438 kB]
Get:19 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 DEP-11 Metadata [284 kB]
Get:20 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe DEP-11 64x64 Icons [497 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 DEP-11 Metadata [9.292 B]
Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe Sources [278 kB]
Get:23 http://ports.ubuntu.com/ubuntu-ports bionic-security/main Sources [251 kB]
Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [967 kB]
Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-security/main armhf Packages [829 kB]
Get:26 http://ports.ubuntu.com/ubuntu-ports bionic-security/main Translation-en [322 kB]
Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 DEP-11 Metadata [42,3 kB]
Get:28 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe armhf Packages [905 kB]
Get:29 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [987 kB]
Get:30 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe Translation-en [254 kB]
Get:31 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 DEP-11 Metadata [55,4 kB]
Fetched 12,9 MB in 8s (1.666 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
46 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@zi-desktop:~/Desktop/jetsonUtilities# apt upgrade
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
root@zi-desktop:~/Desktop/jetsonUtilities# dpkg --configure -a
dpkg: dependency problems prevent configuration of libnvidia-ifr1-450:arm64:
libnvidia-ifr1-450:arm64 depends on libnvidia-gl-450; however:
Package libnvidia-gl-450:arm64 is not installed.
dpkg: error processing package libnvidia-ifr1-450:arm64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnvidia-decode-450:arm64:
libnvidia-decode-450:arm64 depends on libnvidia-compute-450 (= 450.51.05-0ubuntu1); however:
Package libnvidia-compute-450:arm64 is not installed.
dpkg: error processing package libnvidia-decode-450:arm64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnvidia-encode-450:arm64:
libnvidia-encode-450:arm64 depends on libnvidia-decode-450; however:
Package libnvidia-decode-450:arm64 is not configured yet.
dpkg: error processing package libnvidia-encode-450:arm64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-utils-450:
nvidia-utils-450 depends on libnvidia-compute-450; however:
Package libnvidia-compute-450:arm64 is not installed.
dpkg: error processing package nvidia-utils-450 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cuda-drivers-450:
cuda-drivers-450 depends on libnvidia-compute-450 (>= 450.51.05); however:
Package libnvidia-compute-450:arm64 is not installed.
cuda-drivers-450 depends on libnvidia-decode-450 (>= 450.51.05); however:
Package libnvidia-decode-450:arm64 is not configured yet.
cuda-drivers-450 depends on libnvidia-encode-450 (>= 450.51.05); however:
Package libnvidia-encode-450:arm64 is not configured yet.
cuda-drivers-450 depends on libnvidia-gl-450 (>= 450.51.05); however:
Package libnvidia-gl-450:arm64 is not installed.
cuda-drivers-450 depends on libnvidia-ifr1-450 (>= 450.51.05); however:
Package libnvidia-ifr1-450:arm64 is not configured yet.
cuda-drivers-450 depends on nvidia-utils-450 (>= 450.51.05); however:
Package nvidia-utils-450 is not configured yet.
dpkg: error processing package cuda-drivers-450 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-driver-450:
nvidia-driver-450 depends on libnvidia-gl-450 (= 450.51.05-0ubuntu1); however:
Package libnvidia-gl-450:arm64 is not installed.
nvidia-driver-450 depends on libnvidia-compute-450 (= 450.51.05-0ubuntu1); however:
Package libnvidia-compute-450:arm64 is not installed.
nvidia-driver-450 depends on libnvidia-ifr1-450 (= 450.51.05-0ubuntu1); however:
Package libnvidia-ifr1-450:arm64 is not configured yet.
dpkg: error processing package nvidia-driver-450 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-compute-utils-450:
nvidia-compute-utils-450 depends on libnvidia-compute-450; however:
Package libnvidia-compute-450:arm64 is not installed.
dpkg: error processing package nvidia-compute-utils-450 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cuda-drivers:
cuda-drivers depends on cuda-drivers-450 (= 450.51.05-1); however:
Package cuda-drivers-450 is not configured yet.
dpkg: error processing package cuda-drivers (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cuda-runtime-11-0:
cuda-runtime-11-0 depends on cuda-drivers (>= 450.51.05); however:
Package cuda-drivers is not configured yet.
dpkg: error processing package cuda-runtime-11-0 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cuda-11-0:
cuda-11-0 depends on cuda-runtime-11-0 (>= 11.0.2); however:
Package cuda-runtime-11-0 is not configured yet.
dpkg: error processing package cuda-11-0 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cuda:
cuda depends on cuda-11-0 (>= 11.0.2); however:
Package cuda-11-0 is not configured yet.
dpkg: error processing package cuda (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libnvidia-ifr1-450:arm64
libnvidia-decode-450:arm64
libnvidia-encode-450:arm64
nvidia-utils-450
cuda-drivers-450
nvidia-driver-450
nvidia-compute-utils-450
cuda-drivers
cuda-runtime-11-0
cuda-11-0
cuda
root@zi-desktop:~/Desktop/jetsonUtilities# sudo apt-get --purge remove “cublas” “cuda*” “nsight*”
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: The package cuda-repo-ubuntu1804-11-0-local needs to be reinstalled, but I can’t find an archive for it.