Apt install cuda-profiler-api-11-4 failed

sudo apt-get install -y nvidia-cuda
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:
nvidia-cuda : Depends: cuda-toolkit-11-4 (= 11.4.14-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

sudo apt-get install -y cuda-toolkit-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-toolkit-11-4 : Depends: cuda-libraries-dev-11-4 (>= 11.4.14) but it is not going to be installed
Depends: cuda-tools-11-4 (>= 11.4.14) but it is not going to be installed
Depends: cuda-samples-11-4 (>= 11.4.239) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

sudo apt-get install -y 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.

sudo apt-get install -y cuda-profiler-api-11-4
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package cuda-profiler-api-11-4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘cuda-profiler-api-11-4’ has no installation candidate

Index can’t find cuda-profiler-api-11-4

1 Like

I have an Orin in exactly the same state, and did the exact same series of apt commands to try to get to the root cause… no solution yet, but Unable to locate package nvidia-jetpack on Orin devkit - #14 by carolyuu looks like it might be helpful except for the fact that I’m not physically in the same building as the Orin and can’t plug into the USB.

Hi,

We are checking this issue internally.
For now, could you use the container shared in the below comment which has the CUDA toolkit installed?

Thanks.

I think I have some info for you that could help your investigation. I was digging a bit more into it this morning.

A new version of the metadata for cuda-libraries-dev-11-4 seems to have been released with the same version number but with cuda-profiler-api-11-4 added to the list of dependencies. One of my colleagues has an Orin that has nvidia-jetpack installed correctly. Look at these two entries:

orin@orinagx4496:~$ apt show cuda-libraries-dev-11-4 -a
Package: cuda-libraries-dev-11-4
Version: 11.4.14-1
Priority: optional
Section: multiverse/devel
Maintainer: cudatools <cudatools@nvidia.com>
Installed-Size: 7,168 B
Depends: cuda-cudart-dev-11-4 (>= 11.4.243), cuda-cccl-11-4 (>= 11.4.222), cuda-profiler-api-11-4 (>= 11.4.239), cuda-driver-dev-11-4 (>= 11.4.243), cuda-nvrtc-dev-11-4 (>= 11.4.239), libcublas-dev-11-4 (>= 11.6.6.23), libcufft-dev-11-4 (>= 10.6.0.143), libcudla-dev-11-4 (>= 11.4.239), libcurand-dev-11-4 (>= 10.2.5.238), libcusolver-dev-11-4 (>= 11.2.0.238), libcusparse-dev-11-4 (>= 11.6.0.238), libnpp-dev-11-4 (>= 11.4.0.228)
Download-Size: 2,552 B
APT-Sources: https://repo.download.nvidia.com/jetson/common r34.1/main arm64 Packages
Description: CUDA Libraries 11.4 development meta-package
 Meta-package containing all available library development packages.
 Does not depend on the NVIDIA driver packages.

Package: cuda-libraries-dev-11-4
Version: 11.4.14-1
Status: install ok installed
Priority: optional
Section: multiverse/devel
Maintainer: cudatools <cudatools@nvidia.com>
Installed-Size: 7,168 B
Depends: cuda-cudart-dev-11-4 (>= 11.4.167), cuda-cccl-11-4 (>= 11.4.167), cuda-driver-dev-11-4 (>= 11.4.167), cuda-nvrtc-dev-11-4 (>= 11.4.166), libcublas-dev-11-4 (>= 11.6.5.24), libcufft-dev-11-4 (>= 10.6.0.71), libcudla-dev-11-4 (>= 11.4.168), libcurand-dev-11-4 (>= 10.2.5.165), libcusolver-dev-11-4 (>= 11.2.0.165), libcusparse-dev-11-4 (>= 11.6.0.165), libnpp-dev-11-4 (>= 11.4.0.155)
Download-Size: unknown
APT-Manual-Installed: no
APT-Sources: /var/lib/dpkg/status
Description: CUDA Libraries 11.4 development meta-package
 Meta-package containing all available library development packages.
 Does not depend on the NVIDIA driver packages.

The bottom one is the one that he installed a few days ago, the top one is the one currently offered in the apt repo (verified with curl https://repo.download.nvidia.com/jetson/common/dists/r34.1/main/binary-arm64/Packages | less). They’re both listed as 11.4.14-1 but have different dependencies.

Oh… this is so exceptionally dirty…

I went and edited /var/lib/apt/lists/repo.download.nvidia.com_jetson_common_dists_r34.1_main_binary-arm64_Packages and removed the cuda-profiler-api-11-4 dependency from cuda-libraries-dev-11-4. apt install nvidia-jetpack seems to be proceeding as expected… we’ll see if it it works when I’m done.

Ohhhh that didn’t work.

 cuda-libraries-dev-11-4 depends on cuda-profiler-api-11-4 (>= 11.4.239); however:
  Package cuda-profiler-api-11-4 is not installed.            
                                                                                                                                                                                                           
dpkg: error processing package cuda-libraries-dev-11-4 (--configure):
 dependency problems - leaving unconfigured                                                          

Edit: As far as using the container goes, our system also relies on getting images from a camera that’s attached to a Mellanox NIC that does RDMA. I suspect that won’t work from inside a container.

Hi,

Really thanks for this information.
We are checking this issue internally.

Thanks.

Hi,

The issue is fixed.
Please try the CUDA installation again.

Thanks.

Worked great! Thanks!

I am also getting this error.

This is on a fresh install with SDKManager on the ODIN. if you then do an apt upgrade, you get the following:

root@ubuntu:/home/aerium# apt-upgrade
bash: apt-upgrade: command not found
root@ubuntu:/home/aerium# apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
![Screenshot from 2022-06-28 12-15-33|690x388](upload://syaX34SfcDKW6QtP6byI0jiWXWc.jpeg)

You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 cuda-libraries-dev-11-4 : Depends: cuda-profiler-api-11-4 (>= 11.4.239) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

also to note, the Ubuntu Software Updater also returns a broken status:
see uploaded file

also to note apt install is now no longer working because of this issue.