Error Installing Dependencies for ISAAC on Xavier AGX

I’m trying to install Isaac on Xavier AGX

  1. Download SDK 2020.2 from
    https://developer.nvidia.com/isaac/downloads

  2. Untar

  3. Directions are from
    https://docs.nvidia.com/isaac/isaac/doc/setup.html#prerequisites

  4. install dependencies
    cd isaac/engine
    ./engine/build/scripts/install_dependencies.sh

My output

desktop:~/Downloads/isaac-sdk-20201201-427971df2/engine$ ./engine/build/scripts/install_dependencies.sh
Hit:1 https://storage.googleapis.com/bazel-apt stable InRelease
Hit:2 https://repo.download.nvidia.com/jetson/common r32.4 InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:4 https://repo.download.nvidia.com/jetson/t194 r32.4 InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Hit:6 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Hit:7 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Reading package lists… Done
[INFO] Installing packages - ffmpeg
[INFO] Successfully installed packages - ffmpeg
[INFO] Installing packages - lsb-core
[INFO] Successfully installed packages - lsb-core
[INFO] Installing packages - git git-lfs git-review build-essential g++ redis-server
[INFO] Successfully installed packages - git git-lfs git-review build-essential g++ redis-server
Error: Failed to call git rev-parse --git-dir --show-toplevel: “fatal: not a git repository (or any of the parent directories): .git\n”
Git LFS initialized.
[INFO] Installing packages - pkg-config zip zlib1g-dev unzip curl
[INFO] Successfully installed packages - pkg-config zip zlib1g-dev unzip curl
[INFO] Installing packages - uuid-dev
[INFO] Successfully installed packages - uuid-dev
[INFO] Installing packages - libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev
[INFO] Successfully installed packages - libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev
[INFO] Installing packages - sox
[INFO] Successfully installed packages - sox
[INFO] Installing packages - gcc-aarch64-linux-gnu g+±aarch64-linux-gnu
E: Package ‘gcc-aarch64-linux-gnu’ has no installation candidate
E: Package ‘g+±aarch64-linux-gnu’ has no installation candidate
[ERROR] Failed to install packages - gcc-aarch64-linux-gnu g+±aarch64-linux-gnu

How can I fix this?

Moving this topic to the Isaac SDK forum.

Could you tell us more about your desktop platform? Are you running Ubuntu 18.04? The difficulty in the error there seems to be the script couldn’t find the cross-compilers from x86 to aarch64 for some reason.

You have held a broken package , please use some package manager to first resolve your dependencies , this can be installed using Synaptic Package Manager !

I am also facing the same issue with my Jetson NX Xavier.
As per your suggestion, installed “Synaptic Package Manager”.
By searching “gcc-aarch64-linux-gnu g+±aarch64-linux-gnu” resulted empty in “Synaptic Package Manager”.
Could you help how to come out of this issue ?

@hemals, I’m not positive on the exact configuration at that time. But, I have a Xavier, and flash the Xavier to Ubuntu 18.04 using SDK Manager. Then follow instructions for installing Isaac. I’m new to this, but I believe gcc is installed, and the error is in the checking of gcc.

Realized that it is not install_dependencies.sh, but install_dependencies_jetson.sh to be used from the same location.
As it needs ipaddress of the jetson, trying to figure out it by ifconfig, but not successful here too. It asks for password, when I gave the correct password of the user, it does not accept. My suspect is the ipaddress that I think, I picked.

Later realized that there was no mistake, but only I thought that something was not working. Below are the complete sequences.

Below is the command that I used :
install_dependencies_jetson.sh -u username -h ipaddress

When attempted for password, I gave the password. It was repeatedly asking for password, hence I thought something was wrong. But it asks few times (I think each for different reason), when given the same password repeatedly it has taken. At the end too, it prompts for password that need to be fed repeatedly.
At last, the jetson reboots with a warning that it will reboot within a minute.
Hence I conclude that it works for running install_dependencies_jetson.sh

Ah, I think I understand the problem. You must run ./engine/build/scripts/install_dependencies.sh on an x86 host machine, not the AGX Xavier (aarch64). You can use ./engine/build/scripts/install_dependencies_jetson.sh which will SSH into your AGX Xavier and begin installing the appropriate target device dependencies to run code you’ll build on x86 host using cross-compilers and deploy over SSH script ./engine/build/scripts/deploy.sh`.

If you run install_dependencies.sh on AGX Xavier, it will search for the x86->aarch64 cross-compilers (e.g., gcc-aarch64-linux-gnu) for the host platform of aarch64, and that won’t exist.

This seems correct. You should be able to build locally on your x86 dev machine and deploy your code to your aarch64 Jetson device using the script ./engine/engine/build/deploy.sh(2020.2)