Dependencies conflict trying to update Jetpack

Orin NX 16GB,

Jetpack 6.1 L4T 36.4.0

nvidia@ubuntu:~$ sudo apt install nvidia-jetpack
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nvidia-container : Depends: nvidia-container-toolkit-base (= 1.14.2-1) but 1.17.3-1 is to be installed
                    Depends: libnvidia-container-tools (= 1.14.2-1) but 1.17.3-1 is to be installed
                    Depends: nvidia-container-toolkit (= 1.14.2-1) but 1.17.3-1 is to be installed
                    Depends: libnvidia-container1 (= 1.14.2-1) but 1.17.3-1 is to be installed
 nvidia-cuda : Depends: cuda-cudart-dev-12-6 (= 12.6.68-1) but 12.6.77-1 is to be installed
               Depends: cuda-driver-dev-12-6 (= 12.6.68-1) but 12.6.77-1 is to be installed
 nvidia-cudnn9 : Depends: libcudnn9-cuda-12 (= ********-1) but ********-1 is to be installed
 nvidia-cudnn9-dev : Depends: libcudnn9-samples (= ********-1) but ********-1 is to be installed
                     Depends: libcudnn9-dev-cuda-12 (= ********-1) but ********-1 is to be installed
 nvidia-tensorrt : Depends: tensorrt-libs (= *********-1+cuda12.5) but *********-1+cuda12.6 is to be installed
 nvidia-tensorrt-dev : Depends: tensorrt (= *********-1+cuda12.5) but *********-1+cuda12.6 is to be installed
E: Unable to correct problems, you have held broken packages.

No packages on hold.

nvidia@ubuntu:~$ cat /etc/apt/sources.list.d/nvidia-l4t-apt-source.list 
# SPDX-FileCopyrightText: Copyright (c) 2019-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
#
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
# property and proprietary rights in and to this material, related
# documentation and any modifications thereto. Any use, reproduction,
# disclosure or distribution of this material and related documentation
# without an express license agreement from NVIDIA CORPORATION or
# its affiliates is strictly prohibited.

deb https://repo.download.nvidia.com/jetson/common r36.4 main
deb https://repo.download.nvidia.com/jetson/t234 r36.4 main
deb https://repo.download.nvidia.com/jetson/ffmpeg r36.4 main

Hi @wavecutdnb ,

Have you made sure that your repository list is up to date? You can update the package list with the following command:

sudo apt-get update

You can also try the following command, which is used to fix broken dependencies:

sudo apt-get install -f

After that, try running the command again:

sudo apt install nvidia-jetpack

If the issue persists, you can remove the old packages and reinstall them manually using the correct versions, which are specified in the log.

I hope this helps!

Jose Morera
Embedded Software Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com
Website: www.ridgerun.com