I followed the isaac_ros_foundationpose tutorial here (isaac_ros_foundationpose — isaac_ros_docs documentation) and when I run
./scripts/run_dev.sh
I get the following error when building the docker image Dockerfile.x86_64 (cloned the latest isaac_ros_common package):
0.875 Err:2 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease
0.875 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B90771758ABCAF5F
0.920 Hit:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
1.227 Reading package lists...
1.645 W: GPG error: https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B90771758ABCAF5F
1.645 E: The repository 'https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease' is not signed.
------
Dockerfile.x86_64:31
--------------------
30 | # Add Isaac apt repository
31 | >>> RUN --mount=type=cache,target=/var/cache/apt \
32 | >>> wget -qO - https://isaac.download.nvidia.com/isaac-ros/repos.key | apt-key add - && \
33 | >>> grep -qxF "deb https://isaac.download.nvidia.com/isaac-ros/release-3 $(lsb_release -cs) release-3.0" /etc/apt/sources.list || \
34 | >>> echo "deb https://isaac.download.nvidia.com/isaac-ros/release-3 $(lsb_release -cs) release-3.0" | tee -a /etc/apt/sources.list \
35 | >>> && apt-get update
36 |
--------------------
ERROR: failed to solve: process "/bin/bash -c wget -qO - https://isaac.download.nvidia.com/isaac-ros/repos.key | apt-key add - && grep -qxF \"deb https://isaac.download.nvidia.com/isaac-ros/release-3 $(lsb_release -cs) release-3.0\" /etc/apt/sources.list || echo \"deb https://isaac.download.nvidia.com/isaac-ros/release-3 $(lsb_release -cs) release-3.0\" | tee -a /etc/apt/sources.list && apt-get update" did not complete successfully: exit code: 100
Tried to figure out how to add the missing key to apt-key but after much googling and trying out a bunch of things, I am still stuck. Any help is greatly appreciated
Hey Hi, I too am facing similar issues when trying to set up ROS dev
G16-7630:~$ wget -qO - https://isaac.download.nvidia.com/isaac-ros/repos.key | sudo apt-key add -
grep -qxF "deb https://isaac.download.nvidia.com/isaac-ros/ubuntu/main $(lsb_release -cs) main" /etc/apt/sources.list || \
echo "deb https://isaac.download.nvidia.com/isaac-ros/ubuntu/main $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
deb https://isaac.download.nvidia.com/isaac-ros/ubuntu/main jammy main
Hit:1 https://nvidia.github.io/libnvidia-container/stable/deb/amd64 InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:4 https://nvidia.github.io/libnvidia-container/experimental/deb/amd64 InRelease
Get:5 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease [3,429 B]
Hit:6 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Get:7 https://isaac.download.nvidia.com/isaac-ros/ubuntu/main jammy InRelease [4,190 B]
Hit:8 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:9 http://security.ubuntu.com/ubuntu jammy-security InRelease
Err:5 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B90771758ABCAF5F
Reading package lists... Done
W: GPG error: https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B90771758ABCAF5F
E: The repository 'https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: https://isaac.download.nvidia.com/isaac-ros/ubuntu/main/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
I started getting the same error very recently. I think it wasn’t showing up when I tried to install a few days ago. I’m trying to setup Realsense for the foundationpose tutorial. Can the moderators please assist here?
> [stage-0 5/22] RUN --mount=type=cache,target=/var/cache/apt wget -qO - https://isaac.download.nvidia.com/isaac-ros/repos.key | apt-key add - && grep -qxF "deb https://isaac.download.nvidia.com/isaac-ros/release-3 $(lsb_release -cs) release-3.0" /etc/apt/sources.list || echo "deb https://isaac.download.nvidia.com/isaac-ros/release-3 $(lsb_release -cs) release-3.0" | tee -a /etc/apt/sources.list && apt-get update:
0.689 Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
0.967 OK
1.238 deb https://isaac.download.nvidia.com/isaac-ros/release-3 jammy release-3.0
1.575 Hit:1 https://repo.download.nvidia.com/jetson/common r36.0 InRelease
1.575 Get:2 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease [3429 B]
1.768 Hit:3 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
1.897 Get:4 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease [128 kB]
2.065 Err:2 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease
2.065 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B90771758ABCAF5F
2.596 Hit:5 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
2.730 Get:6 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease [129 kB]
3.170 Reading package lists...
5.269 W: https://repo.download.nvidia.com/jetson/common/dists/r36.0/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
5.269 W: Skipping acquire of configured file 'universe/binary-arm64/Packages' as repository 'https://repo.download.nvidia.com/jetson/common r36.0 InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
5.269 W: GPG error: https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B90771758ABCAF5F
5.269 E: The repository 'https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease' is not signed.
------
Dockerfile.aarch64:52
--------------------
51 | # Add Isaac apt repository
52 | >>> RUN --mount=type=cache,target=/var/cache/apt \
53 | >>> wget -qO - https://isaac.download.nvidia.com/isaac-ros/repos.key | apt-key add - && \
54 | >>> grep -qxF "deb https://isaac.download.nvidia.com/isaac-ros/release-3 $(lsb_release -cs) release-3.0" /etc/apt/sources.list || \
55 | >>> echo "deb https://isaac.download.nvidia.com/isaac-ros/release-3 $(lsb_release -cs) release-3.0" | tee -a /etc/apt/sources.list \
56 | >>> && apt-get update
57 |
--------------------
ERROR: failed to solve: process "/bin/bash -c wget -qO - https://isaac.download.nvidia.com/isaac-ros/repos.key | apt-key add - && grep -qxF \"deb https://isaac.download.nvidia.com/isaac-ros/release-3 $(lsb_release -cs) release-3.0\" /etc/apt/sources.list || echo \"deb https://isaac.download.nvidia.com/isaac-ros/release-3 $(lsb_release -cs) release-3.0\" | tee -a /etc/apt/sources.list && apt-get update" did not complete successfully: exit code: 100
/mnt/drivedhruv/workspaces/isaac_ros-dev/src/isaac_ros_common
Facing the same issue. NO_PUBKEY B90771758ABCAF5F
Hi everyone
Thank you for your message; I promptly reported to the engineering department team and will fix it immediately.
I will keep you posted
Raffaello
Same reference for this topic: Isaac ROS Build Issue - Pubkey Error
The issue has been fixed. Please let me know if everything returns to normal.
Best,
Raffaello
Thank you very much Raffaello. The NO_PUBKEY issue resolved.