Cuda-cross-aarch64-10-2 missing from Jetpack 4.6 apt repo

L4T32.5.1

Hey, I have the following dockerfile:

RUN apt-key adv --fetch-key https://repo.download.nvidia.com/jetson/jetson-ota-public.asc && \
    echo "deb [arch=amd64] https://repo.download.nvidia.com/jetson/x86_64/bionic r32.6 main" > /etc/apt/sources.list.d/jetpack.list && \
    apt update && \
    apt install -y cuda-cross-aarch64

It doesnt work because cuda-cross-aarch64-10-2 is not in the repo.

The following packages have unmet dependencies:
cuda-cross-aarch64 : Depends: cuda-cross-aarch64-10-2 (>= 10.2.460) but it is not installable
E: Unable to correct problems, you have held broken packages.

I checked on the following link Index and cuda-cross-aarch64-10-2 is available.

Why is it missing when using the apt repo?
I found the same question but the solution doesnt work anymore: Cuda-cross-aarch64-10-2 missing in JetPack 4.6's apt repository - #7 by AastaLLL

Thanks !

Hi,

Do you try to install it on an x86 device?
Please note that the cross-compiling toolkit is provided for desktop so you need to run it on an x86 device instead of Jetson.

You can also find the package in the below link:

Thanks.

Hey, yes
On linux/amd64 Ubuntu

You can reproduce the error with the following Dockerkfile:

FROM --platform=linux/amd64 ubuntu:18.04

RUN apt update && \
    apt install -y gnupg curl gnupg2 ca-certificates

RUN apt-key adv --fetch-key https://repo.download.nvidia.com/jetson/jetson-ota-public.asc && \
    echo "deb [arch=amd64] https://repo.download.nvidia.com/jetson/x86_64/bionic r32.6 main" > /etc/apt/sources.list.d/jetpack.list && \
    apt update && \
    apt install -y cuda-cross-aarch64

#6 33.86 The following packages have unmet dependencies:
#6 33.91 cuda-cross-aarch64 : Depends: cuda-cross-aarch64-10-2 (>= 10.2.460) but it is not installable
#6 33.92 E: Unable to correct problems, you have held broken packages.

I would like to be able to install all the package via regular apt repo, its much cleaner that way

Hi,

Are you able to install the package natively?
Instead of the apt server, the cross-compiling packages can also be found through the SDK manager.

Thanks.

I can install the deb package with dpkg, but I want to use regular apt.
I’d rather avoid the SDK manager, it’s not reliable in the long term (available versions gets removed randomly).

this is still an issue

Hi,

If you don’t want to use SDK Manager, you can also find the package in the link shared above.

Does your desktop contain a GPU?
Since you will need to install CUDA before the CUDA cross-compiling toolkit.
To install CUDA, you will need a GPU and a working driver.

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.