Cuda-cross-aarch64-10-2 missing in JetPack 4.6's apt repository


I’m trying to setup my own cross compile environment for JetPack 4.6.

In JetPack 4.5.1, I was able to download cuda-cross-aarch64-10-2 through apt repository deb bionic r32.5. But when I replace r32.5 with r32.6, apt reports E: Unable to locate package cuda-cross-aarch64-10-2 after an apt update.

After investigating the apt repository, I found that is an empty file while is full of contents. That’s the reason why apt cannot find the package.

Can anyone help with keeping JetPack’s apt repository updated? Thanks!


Please find the package in the below link:


I know the package can be found in that link, but I’m trying to build a cross-compile environment container image. Hardcoding the download link is Dockerfile is really strange.


Could you share which docker image you use?
We test it on an x86 system, and the package can be located successfully.

$ apt-cache policy cuda-cross-aarch64-10-2
  Installed: 10.2.460-1
  Candidate: 10.2.460-1
  Version table:
 *** 10.2.460-1 600
        600 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local  Packages
        100 /var/lib/dpkg/status
     10.2.89-1 600
        600 file:/var/cuda-repo-10-2-local-10.2.89-cross-aarch64  Packages



Here’s my Dockerfile:

FROM ubuntu:18.04
RUN apt update && \
    apt install -y --no-install-recommends \
        apt-transport-https \
        ca-certificates \
        gnupg2 \
    && rm -rf /var/lib/apt/lists/*
RUN apt-key adv --fetch-key && \
    echo "deb bionic r32.6" > /etc/apt/sources.list.d/jetpack.list && \
    apt update && \
    apt install -y --no-install-recommends \
        cuda-cross-aarch64-10-2 \
    && rm -rf /var/lib/apt/lists/* && \
    ln -s cuda-10.2 /usr/local/cuda

I need to build the image from scratch and without any local deb cache. By replacing r32.6 with r32.5 in the previous Dockerfile, the image builds without any issues, and all the toolchains can work correctly.

The command output in your comment shows that cuda-cross-aarch64-10-2 is from a local apt repository (prefixed with file: instead of The reason why apt cannot find the correct package is that gives an empty file.

I think the solution should be someone at NVIDIA to fill the repository’s Packages file correctly.


Thanks for reporting this.

We are working with our internal team to update the link.
Will share more information with you later.



Thanks for your patience.

Due to the need for the x86_64 repository separation for bionic/xenial.
The x86_64 repositories were changed in r32.6.

Please use the following command instead.

echo "deb r32.6 main" > /etc/apt/sources.list.d/jetpack.list

You can find more information in the below document:



I’ve confirmed that the new repository is working.

Thanks for all of your hard work!

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