Cuda 12.2 Update for Jetpack 5.1.2

Hello

I have Jetson Xavier Dev Board with Jetpack 5.1.2, and it comes with cuda 11.4.
We have updated its cuda to 12.2 regarding to the instructions here and [here]( Simplifying CUDA Upgrades for NVIDIA Jetson Users | NVIDIA Technical Blog)

Starting with JetPack 5.0.2, upgrade to latest and greatest CUDA releases from CUDA 11.8 onwards without the need to update Jetson Linux other JetPack components.

using these command lines

wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/arm64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt-get update
sudo apt-get -y install cuda

After the installation we get errors for sudo apt update as below:

nvidia-container-toolkit : Depends: nvidia-container-toolkit-base (=1.17.3.-1) but it is not installed' 'E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)

What should we do?

Hi @mfatihaydogdu ,
Would recommend you to pls reach out to Jetson forum for this.
Moving the case.
Thanks

Sorry for the late response.
Is this still an issue to support? Any result can be shared?

After the CUDA 12.2 Update the following exports must be done to .bashrc

export PATH=/usr/local/cuda/bin:\$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib64:\$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/cuda/compat:\$LD_LIBRARY_PATH
export CUDA_HOME=/usr/local/cuda

Especially compat part must be added for CUDA 12.2 update to satisfy the compatibility.