(base) smc@smc-orin-1:~$ 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:
dctrl-tools dkms libnvidia-cfg1-535 libnvidia-common-535 libnvidia-decode-535 libnvidia-encode-535
libnvidia-fbc1-535 linux-headers-5.4.0-169 linux-headers-5.4.0-169-generic linux-headers-generic
nvidia-firmware-535-535.129.03 nvidia-kernel-source-535 nvidia-prime nvidia-settings python3-xkit
screen-resolution-extra
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libnvidia-compute-535
The following NEW packages will be installed:
libnvidia-compute-535
0 upgraded, 1 newly installed, 0 to remove and 219 not upgraded.
160 not fully installed or removed.
Need to get 0 B/34.2 MB of archives.
After this operation, 168 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 202933 files and directories currently installed.)
Preparing to unpack .../libnvidia-compute-535_535.129.03-0ubuntu0.20.04.1_arm64.deb ...
Unpacking libnvidia-compute-535:arm64 (535.129.03-0ubuntu0.20.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libnvidia-compute-535_535.129.03-0ubuntu0.20.04.1_arm64.deb (--unpack):
trying to overwrite '/usr/lib/aarch64-linux-gnu/libcuda.so', which is also in package nvidia-l4t-cuda 35.1.0-20220825113828
Errors were encountered while processing:
/var/cache/apt/archives/libnvidia-compute-535_535.129.03-0ubuntu0.20.04.1_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)