Error while installing cuda-11-4 - Jetson AGX Xavier - Jetpack 5.0

Hi.

Since Monday I am getting the following error when installing cuda-11-4 inside the container or in the host jetson.

# apt install cuda-11-4
Reading package lists... Done
Building dependency tree
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:
 cuda-11-4 : Depends: cuda-toolkit-11-4 (>= 11.4.14) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

With further investigation, I found that the cuda-profiler-api-11-4 is missing in the debian package manager. See:

# apt install cuda-libraries-dev-11-4
Reading package lists... Done
Building dependency tree
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:
 cuda-libraries-dev-11-4 : Depends: cuda-profiler-api-11-4 (>= 11.4.239) but it is not installable
E: Unable to correct problems, you have held broken packages.

And indeed I am not finding it in: Index (nvidia.com)

Thank you for any help.

Hi @alexandre.baiao, thanks for bringing this up - we are looking into it now.

In the meantime, you could try using these prebuilt jetpack container images which already contain the CUDA packages preinstalled:

dustynv/jetpack:r34.1.1
dustynv/jetpack:r34.1.0

Hi,

The CUDA installation is working now.
Please try it again.

Thanks.