- Flashed a Xavier Orin with latest Jetpack 5 preview
- Didn’t install CUDA
- Followed the instructions here to install CUDA 11.7
Result:
Errors were encountered while processing:
/tmp/apt-dpkg-install-J7Xtt4/21-libnvidia-compute-515_515.43.04-0ubuntu1_arm64.deb
/tmp/apt-dpkg-install-J7Xtt4/25-libnvidia-gl-515_515.43.04-0ubuntu1_arm64.deb
/tmp/apt-dpkg-install-J7Xtt4/32-nvidia-utils-515_515.43.04-0ubuntu1_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Now I get a bunch of apt dependancy errors. Any ideas?
Thank you!
$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin dpkg-repack gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common libdebian-installer4 libfwupdplugin1 libtimezonemap-data libtimezonemap1 os-prober python3-icu python3-pam rdate tasksel tasksel-data
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libnvidia-compute-515 libnvidia-gl-515 nvidia-utils-515
The following NEW packages will be installed:
libnvidia-compute-515 libnvidia-gl-515 nvidia-utils-515
0 upgraded, 3 newly installed, 0 to remove and 2 not upgraded.
82 not fully installed or removed.
Need to get 0 B/158 MB of archives.
After this operation, 386 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 file:/var/cuda-repo-ubuntu2004-11-7-local libnvidia-compute-515 515.43.04-0ubuntu1 [16.9 MB]
Get:2 file:/var/cuda-repo-ubuntu2004-11-7-local libnvidia-gl-515 515.43.04-0ubuntu1 [141 MB]
Get:3 file:/var/cuda-repo-ubuntu2004-11-7-local nvidia-utils-515 515.43.04-0ubuntu1 [326 kB]
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 182119 files and directories currently installed.)
Preparing to unpack .../libnvidia-compute-515_515.43.04-0ubuntu1_arm64.deb ...
Unpacking libnvidia-compute-515:arm64 (515.43.04-0ubuntu1) ...
dpkg: error processing archive /var/cuda-repo-ubuntu2004-11-7-local/./libnvidia-compute-515_515.43.04-0ubuntu1_arm64.deb (--unpack):
trying to overwrite '/usr/lib/aarch64-linux-gnu/libcuda.so', which is also in package nvidia-l4t-cuda 34.1.1-20220516211757
Preparing to unpack .../libnvidia-gl-515_515.43.04-0ubuntu1_arm64.deb ...
dpkg-query: no packages found matching libnvidia-gl-450
Unpacking libnvidia-gl-515:arm64 (515.43.04-0ubuntu1) ...
dpkg: error processing archive /var/cuda-repo-ubuntu2004-11-7-local/./libnvidia-gl-515_515.43.04-0ubuntu1_arm64.deb (--unpack):
trying to overwrite '/usr/share/glvnd/egl_vendor.d/10_nvidia.json', which is also in package nvidia-l4t-3d-core 34.1.1-20220516211757
Preparing to unpack .../nvidia-utils-515_515.43.04-0ubuntu1_arm64.deb ...
Unpacking nvidia-utils-515 (515.43.04-0ubuntu1) ...
dpkg: error processing archive /var/cuda-repo-ubuntu2004-11-7-local/./nvidia-utils-515_515.43.04-0ubuntu1_arm64.deb (--unpack):
trying to overwrite '/usr/bin/nvidia-xconfig', which is also in package nvidia-l4t-x11 34.1.1-20220516211757
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cuda-repo-ubuntu2004-11-7-local/./libnvidia-compute-515_515.43.04-0ubuntu1_arm64.deb
/var/cuda-repo-ubuntu2004-11-7-local/./libnvidia-gl-515_515.43.04-0ubuntu1_arm64.deb
/var/cuda-repo-ubuntu2004-11-7-local/./nvidia-utils-515_515.43.04-0ubuntu1_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)