cuQuantum: libcuquantum0-cuda-12 : Depends: but it is not installable

I have completely removed all previous NVIDIA drivers and cuda installations, and then installed cuda.12.2 together with its GPU driver 535.104.05 (for RTX 4090) on Ubuntu 22.04, and PyTorch has no problems finding and using the GPU.

However, when installing cuQuantum (cuquantum-local-repo-ubuntu2204-23.06.1), I get the following error:

The following packages have unmet dependencies:
libcuquantum0-cuda-11 : Depends: but it is not installable
libcuquantum0-cuda-12 : Depends: but it is not installable
E: Unable to correct problems, you have held broken packages.

I can see that (linked with is in /usr/local/cuda/lib64, the path of which has been added to LD_LIBRARY_PATH (and to make sure it is available to get-apt, I even used -E to pass the environment in to sudo). I have also tried to install to the entire HPC package (in /opt, which has the same version of, and added its path to LD_LIBRARY_PATH, but it make no difference.

Note that there was a similar problem recently with, which was resolved by fixing the NGC service on NVIDIA side. Not sure if this may be a similar issue?

@ironfrown , this might be caused by different installation methods: if you’re installing .deb cuQuantum installer, however installed .run format cuda 12.2, not the debian archive(cuda-repo-ubuntu2204-12-2-local_12.2.2-535.104.05-1_amd64.deb), so can you have a check?

For local installation, below steps can be a reference:

  1. install .deb CUDA from link1
  2. install .deb cuTensor from link2
  3. install .deb cuQuantum from link3