Hi, i am new here. I am trying to do upgrade to my Jetson Xavier NX and i am getting this error about “libnvidia-compute-450:arm64”. i tried to use “sudo apt --fix-broken install” but i am getting this error back “E: Sub-process /usr/bin/dpkg returned an error code (1)” after few seconds.
emmanuel@emmanuel-desktop:~$ sudo apt-get upgrade
[sudo] password for emmanuel:
Sorry, try again.
[sudo] password for emmanuel:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
cuda-drivers-450 : Depends: libnvidia-compute-450 (>= 450.51.05) but it is not installed
Depends: libnvidia-gl-450 (>= 450.51.05) but it is not installed
libnvidia-decode-450 : Depends: libnvidia-compute-450 (= 450.51.05-0ubuntu1) but it is not installed
libnvidia-ifr1-450 : Depends: libnvidia-gl-450 but it is not installed
nvidia-compute-utils-450 : Depends: libnvidia-compute-450 but it is not installed
nvidia-driver-450 : Depends: libnvidia-gl-450 (= 450.51.05-0ubuntu1) but it is not installed
Depends: libnvidia-compute-450 (= 450.51.05-0ubuntu1) but it is not installed
nvidia-utils-450 : Depends: libnvidia-compute-450 but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
emmanuel@emmanuel-desktop:~$ 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:
cuda-command-line-tools-11-0 cuda-compiler-11-0 cuda-cudart-11-0
cuda-cudart-dev-11-0 cuda-cuobjdump-11-0 cuda-cupti-11-0 cuda-cupti-dev-11-0
cuda-documentation-11-0 cuda-driver-dev-11-0 cuda-drivers cuda-drivers-450
cuda-gdb-11-0 cuda-libraries-11-0 cuda-libraries-dev-11-0
cuda-nsight-compute-11-0 cuda-nsight-systems-11-0 cuda-nvcc-11-0
cuda-nvdisasm-11-0 cuda-nvml-dev-11-0 cuda-nvprof-11-0 cuda-nvprune-11-0
cuda-nvrtc-11-0 cuda-nvrtc-dev-11-0 cuda-nvtx-11-0 cuda-samples-11-0
cuda-sanitizer-11-0 cuda-toolkit-11-0 cuda-tools-11-0 cuda-visual-tools-11-0
libcublas-11-0 libcublas-dev-11-0 libcufft-11-0 libcufft-dev-11-0
libcurand-11-0 libcurand-dev-11-0 libcusolver-11-0 libcusolver-dev-11-0
libcusparse-11-0 libcusparse-dev-11-0 libnpp-11-0 libnpp-dev-11-0
libnvidia-extra-450 libnvjpeg-11-0 libnvjpeg-dev-11-0
nsight-compute-2020.1.1 nsight-systems-cli-2020.3.2 nvidia-compute-utils-450
nvidia-driver-450 nvidia-modprobe nvidia-prime nvidia-settings
nvidia-utils-450 screen-resolution-extra xserver-xorg-video-nvidia-450
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libnvidia-compute-450 libnvidia-gl-450
The following NEW packages will be installed:
libnvidia-compute-450 libnvidia-gl-450
0 upgraded, 2 newly installed, 0 to remove and 8 not upgraded.
9 not fully installed or removed.
Need to get 0 B/64.1 MB of archives.
After this operation, 257 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 file:/var/cuda-repo-ubuntu1804-11-0-local libnvidia-compute-450 450.51.05-0ubuntu1 [9,231 kB]
Get:2 file:/var/cuda-repo-ubuntu1804-11-0-local libnvidia-gl-450 450.51.05-0ubuntu1 [54.9 MB]
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libnvidia-compute-450:arm64.
(Reading database ... 187953 files and directories currently installed.)
Preparing to unpack .../libnvidia-compute-450_450.51.05-0ubuntu1_arm64.deb ...
Unpacking libnvidia-compute-450:arm64 (450.51.05-0ubuntu1) ...
dpkg: error processing archive /var/cuda-repo-ubuntu1804-11-0-local/./libnvidia-compute-450_450.51.05-0ubuntu1_arm64.deb (--unpack):
trying to overwrite '/usr/lib/aarch64-linux-gnu/libcuda.so', which is also in package nvidia-l4t-cuda 32.4.3-20200625213407
Preparing to unpack .../libnvidia-gl-450_450.51.05-0ubuntu1_arm64.deb ...
Unpacking libnvidia-gl-450:arm64 (450.51.05-0ubuntu1) ...
dpkg: error processing archive /var/cuda-repo-ubuntu1804-11-0-local/./libnvidia-gl-450_450.51.05-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 32.4.3-20200625213407
Errors were encountered while processing:
/var/cuda-repo-ubuntu1804-11-0-local/./libnvidia-compute-450_450.51.05-0ubuntu1_arm64.deb
/var/cuda-repo-ubuntu1804-11-0-local/./libnvidia-gl-450_450.51.05-0ubuntu1_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)