ISAAC ros failure to sudo apt-get update --fix-missing

Im trying to use isaac ros Nvblox and I followed the tutorial below

But when I run sudo apt-get update --fix-missing
I got the following error

Hit:1 http://packages.ros.org/ros2/ubuntu jammy InRelease                             
Hit:2 https://deb.nodesource.com/node_18.x nodistro InRelease                         
Hit:3 https://dl.yarnpkg.com/debian stable InRelease                                  
Hit:5 https://ppa.launchpadcontent.net/mosquitto-dev/mosquitto-ppa/ubuntu jammy InRelease
Hit:6 https://repo.download.nvidia.com/jetson/common r36.4 InRelease                  
Hit:7 http://ports.ubuntu.com/ubuntu-ports jammy InRelease                            
Get:8 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease [128 kB]           
Hit:9 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/arm64  InRelease
Get:4 https://isaac.download.nvidia.cn/isaac-ros/release-3 jammy InRelease [12.7 kB]  
Hit:10 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease                 
Get:11 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease [129 kB]    
Hit:12 https://repo.download.nvidia.com/jetson/t234 r36.4 InRelease                   
Fetched 270 kB in 12s (22.0 kB/s)                                                     
Reading package lists... Done
W: https://dl.yarnpkg.com/debian/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://repo.download.nvidia.com/jetson/common/dists/r36.4/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://isaac.download.nvidia.com/isaac-ros/release-3/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.
W: Skipping acquire of configured file 'universe/binary-arm64/Packages' as repository 'https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease' doesn't have the component 'universe' (component misspelt in sources.list?)
W: https://repo.download.nvidia.com/jetson/t234/dists/r36.4/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

Then I tried rosdep update && rosdep install -i -r --from-paths ${ISAAC_ROS_WS}/src/isaac_ros_nvblox/ --rosdistro humble -y
And I got the following error

reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit file:///etc/ros/rosdep/sources.list.d/nvidia-isaac.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
Skip end-of-life distro "ardent"
Skip end-of-life distro "bouncy"
Skip end-of-life distro "crystal"
Skip end-of-life distro "dashing"
Skip end-of-life distro "eloquent"
Skip end-of-life distro "foxy"
Skip end-of-life distro "galactic"
Skip end-of-life distro "groovy"
Add distro "humble"
Skip end-of-life distro "hydro"
Skip end-of-life distro "indigo"
Skip end-of-life distro "iron"
Skip end-of-life distro "jade"
Add distro "jazzy"
Add distro "kilted"
Skip end-of-life distro "kinetic"
Skip end-of-life distro "lunar"
Skip end-of-life distro "melodic"
Add distro "noetic"
Add distro "rolling"
updated cache in /home/admin/.ros/rosdep/sources.cache
executing command [sudo -H apt-get install -y ros-humble-isaac-ros-peoplenet-models-install]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  ros-humble-gxf-isaac-detectnet ros-humble-isaac-ros-detectnet
  ros-humble-isaac-ros-nitros-detection2-d-array-type
The following NEW packages will be installed:
  ros-humble-gxf-isaac-detectnet ros-humble-isaac-ros-detectnet
  ros-humble-isaac-ros-nitros-detection2-d-array-type
  ros-humble-isaac-ros-peoplenet-models-install
0 upgraded, 4 newly installed, 0 to remove and 76 not upgraded.
Need to get 329 kB of archives.
After this operation, 2,173 kB of additional disk space will be used.
Get:1 https://isaac.download.nvidia.cn/isaac-ros/release-3 jammy/release-3.0 arm64 ros-humble-isaac-ros-nitros-detection2-d-array-type arm64 3.2.5-0jammy [40.7 kB]
Err:1 https://isaac.download.nvidia.cn/isaac-ros/release-3 jammy/release-3.0 arm64 ros-humble-isaac-ros-nitros-detection2-d-array-type arm64 3.2.5-0jammy
  File has unexpected size (40452 != 40686). Mirror sync in progress? [IP: 111.51.158.56 443]
  Hashes of expected file:
   - SHA256:397218656969017d0919a47870aace670d7ee9df001f91983923b9cdf71902e7
   - SHA1:b1a1500491a3265e5ba120d8011ee8b3c6567741 [weak]
   - Filesize:40686 [weak]
Get:2 https://isaac.download.nvidia.cn/isaac-ros/release-3 jammy/release-3.0 arm64 ros-humble-gxf-isaac-detectnet arm64 3.2.5-0jammy [65.6 kB]
Get:3 https://isaac.download.nvidia.cn/isaac-ros/release-3 jammy/release-3.0 arm64 ros-humble-isaac-ros-detectnet arm64 3.2.5-0jammy [214 kB]
Get:4 https://isaac.download.nvidia.cn/isaac-ros/release-3 jammy/release-3.0 arm64 ros-humble-isaac-ros-peoplenet-models-install arm64 3.2.5-0jammy [8,690 B]
Fetched 288 kB in 13s (21.4 kB/s)                                              
E: Failed to fetch https://isaac.download.nvidia.cn/isaac-ros/release-3/pool/release-3.2/ros-humble-isaac-ros-nitros-detection2-d-array-type-arm64.deb  File has unexpected size (40452 != 40686). Mirror sync in progress? [IP: 111.51.158.56 443]
   Hashes of expected file:
    - SHA256:397218656969017d0919a47870aace670d7ee9df001f91983923b9cdf71902e7
    - SHA1:b1a1500491a3265e5ba120d8011ee8b3c6567741 [weak]
    - Filesize:40686 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
executing command [sudo -H apt-get install -y ros-humble-isaac-ros-visual-slam]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  ros-humble-isaac-ros-visual-slam
0 upgraded, 1 newly installed, 0 to remove and 76 not upgraded.
Need to get 2,402 kB of archives.
After this operation, 8,165 kB of additional disk space will be used.
Get:1 https://isaac.download.nvidia.cn/isaac-ros/release-3 jammy/release-3.0 arm64 ros-humble-isaac-ros-visual-slam arm64 3.2.6-0jammy [2,402 kB]
Fetched 2,402 kB in 7s (349 kB/s)                             
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78, <> line 1.)
debconf: falling back to frontend: Readline
Selecting previously unselected package ros-humble-isaac-ros-visual-slam.
(Reading database ... 173550 files and directories currently installed.)
Preparing to unpack .../ros-humble-isaac-ros-visual-slam_3.2.6-0jammy_arm64.deb ...
Unpacking ros-humble-isaac-ros-visual-slam (3.2.6-0jammy) ...
Setting up ros-humble-isaac-ros-visual-slam (3.2.6-0jammy) ...
executing command [sudo -H apt-get install -y ros-humble-isaac-ros-detectnet]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  ros-humble-gxf-isaac-detectnet
  ros-humble-isaac-ros-nitros-detection2-d-array-type
The following NEW packages will be installed:
  ros-humble-gxf-isaac-detectnet ros-humble-isaac-ros-detectnet
  ros-humble-isaac-ros-nitros-detection2-d-array-type
0 upgraded, 3 newly installed, 0 to remove and 76 not upgraded.
Need to get 320 kB of archives.
After this operation, 2,116 kB of additional disk space will be used.
Get:1 https://isaac.download.nvidia.cn/isaac-ros/release-3 jammy/release-3.0 arm64 ros-humble-isaac-ros-nitros-detection2-d-array-type arm64 3.2.5-0jammy [40.7 kB]
Get:2 https://isaac.download.nvidia.cn/isaac-ros/release-3 jammy/release-3.0 arm64 ros-humble-gxf-isaac-detectnet arm64 3.2.5-0jammy [65.6 kB]
Get:3 https://isaac.download.nvidia.cn/isaac-ros/release-3 jammy/release-3.0 arm64 ros-humble-isaac-ros-detectnet arm64 3.2.5-0jammy [214 kB]
Fetched 320 kB in 7s (43.6 kB/s)                        
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78, <> line 3.)
debconf: falling back to frontend: Readline
Selecting previously unselected package ros-humble-isaac-ros-nitros-detection2-d-array-type.
(Reading database ... 173612 files and directories currently installed.)
Preparing to unpack .../ros-humble-isaac-ros-nitros-detection2-d-array-type_3.2.5-0jammy_arm64.deb ...
Unpacking ros-humble-isaac-ros-nitros-detection2-d-array-type (3.2.5-0jammy) ...
Selecting previously unselected package ros-humble-gxf-isaac-detectnet.
Preparing to unpack .../ros-humble-gxf-isaac-detectnet_3.2.5-0jammy_arm64.deb ...
Unpacking ros-humble-gxf-isaac-detectnet (3.2.5-0jammy) ...
Selecting previously unselected package ros-humble-isaac-ros-detectnet.
Preparing to unpack .../ros-humble-isaac-ros-detectnet_3.2.5-0jammy_arm64.deb ...
Unpacking ros-humble-isaac-ros-detectnet (3.2.5-0jammy) ...
Setting up ros-humble-isaac-ros-nitros-detection2-d-array-type (3.2.5-0jammy) ...
Setting up ros-humble-gxf-isaac-detectnet (3.2.5-0jammy) ...
Setting up ros-humble-isaac-ros-detectnet (3.2.5-0jammy) ...
ERROR: the following rosdeps failed to install
  apt: command [sudo -H apt-get install -y ros-humble-isaac-ros-peoplenet-models-install] failed
  apt: Failed to detect successful installation of [ros-humble-isaac-ros-peoplenet-models-install]

Any help is greatly appreciated,I stucked for two days

Hi @1098924007

Thank you for your post.

Could you check if your CDN is set correctly based on your location?

Best,
Ahung

1 Like