Hi, Im trying to build with Realsense set up with Ubuntu x86 64 22.04, RTX 4080 and meet error while execute this command:
cd ${ISAAC_ROS_WS}/src/isaac_ros_common &&
./scripts/run_dev.sh -d ${ISAAC_ROS_WS}_
Logs:
=> ERROR [stage-0 4/16] RUN --mount=type=cache,target=/var/cache/apt wget -qO - https://isaac.download.nvidia.com/is 3.7s
[stage-0 4/16] 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.229 Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
0.495 OK
0.570 deb https://isaac.download.nvidia.com/isaac-ros/release-3 jammy release-3.0
0.832 Get:1 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease [3429 B]
0.856 Hit:2 Index of /compute/cuda/repos/ubuntu2204/x86_64 InRelease
1.393 Ign:3 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy/release-3.0 amd64 Packages
1.413 Hit:4 Index of /ubuntu jammy InRelease
1.419 Get:5 Index of /ubuntu jammy-security InRelease [129 kB]
1.430 Get:3 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy/release-3.0 amd64 Packages [29.8 kB]
1.430 File has unexpected size (30010 != 29756). Mirror sync in progress? [IP: 192.229.232.31 443]
1.430 Hashes of expected file:
1.430 - Filesize:29756 [weak]
1.430 - SHA256:52e020ceb7e96ff56fe91d46c186552ba0f16eeed519c7e2f14c35b2b8ab2062
1.430 - SHA1:1eec0f5f970fa4757bf9eb7527880359d4084d7f [weak]
1.430 - MD5Sum:7e41bd8552c5ddd8a7292feacdbd4555 [weak]
1.430 Release file created at: Sat, 15 Jun 2024 03:14:19 +0000**
1.691 Get:6 Index of /ubuntu jammy-updates InRelease [128 kB]
2.881 Hit:7 Index of /ubuntu jammy-backports InRelease
2.956 Fetched 260 kB in 2s (112 kB/s)
2.956 Reading package lists…
### 3.640 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.
3.640 E: Failed to fetch https://isaac.download.nvidia.com/isaac-ros/release-3/dists/jammy/release-3.0/binary-amd64/Packages.gz File has unexpected size (30010 != 29756). Mirror sync in progress? [IP: 192.229.232.31 443]
3.640 Hashes of expected file:
3.640 - Filesize:29756 [weak]
3.640 - SHA256:52e020ceb7e96ff56fe91d46c186552ba0f16eeed519c7e2f14c35b2b8ab2062
3.640 - SHA1:1eec0f5f970fa4757bf9eb7527880359d4084d7f [weak]
3.640 - MD5Sum:7e41bd8552c5ddd8a7292feacdbd4555 [weak]
3.640 Release file created at: Sat, 15 Jun 2024 03:14:19 +0000
3.640 E: Some index files failed to download. They have been ignored, or old ones used instead.
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
~/workspaces/isaac_ros-dev/src/isaac_ros_common
I’ve noticed there is new version release (3.0.1) an tried to clone ver 3.0 but it does not work. Very appreciated for any help!
liuyt
June 16, 2024, 2:16pm
2
I also meet the similar error when i run the scipts/run_dev.sh with the default config key.( Ubuntu x86 64 22.04 rtx4090)
I also tried the release-2.1 version. in this version ,it can build sucessfull.
–error logs bellow:---------------------------------------------------------
=> [stage-0 2/16] RUN mkdir -p /opt/nvidia/isaac_ros_dev_base && dpkg-query -W | sort > /opt/nvidia/isaac_ros_dev_base/x86_64-start-packages.csv 45.8s
=> [stage-0 3/16] RUN --mount=type=cache,target=/var/cache/apt apt-get update && apt-get install -y software-properties-common && add-apt-repository universe && apt-get updat 19.1s
=> ERROR [stage-0 4/16] 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: 39.7s
[stage-0 4/16] 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.219 Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
1.176 OK
1.255 deb https://isaac.download.nvidia.com/isaac-ros/release-3 jammy release-3.0
1.988 Hit:1 Index of /compute/cuda/repos/ubuntu2204/x86_64 InRelease
2.069 Hit:2 Index of /ubuntu jammy-security InRelease
2.069 Get:3 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease [3429 B]
3.190 Ign:4 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy/release-3.0 amd64 Packages
3.294 Get:4 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy/release-3.0 amd64 Packages [29.8 kB]
3.294 Err:4 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy/release-3.0 amd64 Packages
3.294 File has unexpected size (30010 != 29756). Mirror sync in progress? [IP: 198.18.0.53 443]
3.294 Hashes of expected file:
3.294 - Filesize:29756 [weak]
3.294 - SHA256:52e020ceb7e96ff56fe91d46c186552ba0f16eeed519c7e2f14c35b2b8ab2062
3.294 - SHA1:1eec0f5f970fa4757bf9eb7527880359d4084d7f [weak]
3.294 - MD5Sum:7e41bd8552c5ddd8a7292feacdbd4555 [weak]
3.294 Release file created at: Sat, 15 Jun 2024 03:14:19 +0000
31.61 Ign:5 Index of /ubuntu jammy InRelease
31.61 Ign:6 Index of /ubuntu jammy-updates InRelease
31.61 Ign:7 Index of /ubuntu jammy-backports InRelease
32.61 Ign:5 Index of /ubuntu jammy InRelease
32.61 Ign:6 Index of /ubuntu jammy-updates InRelease
32.61 Ign:7 Index of /ubuntu jammy-backports InRelease
34.61 Ign:5 Index of /ubuntu jammy InRelease
34.61 Ign:6 Index of /ubuntu jammy-updates InRelease
34.61 Ign:7 Index of /ubuntu jammy-backports InRelease
38.61 Err:5 Index of /ubuntu jammy InRelease
38.61 Could not connect to archive.ubuntu.com:80 (198.18.0.9), connection timed out
38.61 Err:6 Index of /ubuntu jammy-updates InRelease
38.61 Unable to connect to archive.ubuntu.com:80 :
38.61 Err:7 Index of /ubuntu jammy-backports InRelease
38.61 Unable to connect to archive.ubuntu.com:80 :
38.64 Fetched 3429 B in 37s (91 B/s)
38.64 Reading package lists…
39.60 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.
39.60 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease Could not connect to archive.ubuntu.com:80 (198.18.0.9), connection timed out
39.60 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease Unable to connect to archive.ubuntu.com:80 :
39.60 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease Unable to connect to archive.ubuntu.com:80 :
39.60 E: Failed to fetch https://isaac.download.nvidia.com/isaac-ros/release-3/dists/jammy/release-3.0/binary-amd64/Packages.gz File has unexpected size (30010 != 29756). Mirror sync in progress? [IP: 198.18.0.53 443]
39.60 Hashes of expected file:
39.60 - Filesize:29756 [weak]
39.60 - SHA256:52e020ceb7e96ff56fe91d46c186552ba0f16eeed519c7e2f14c35b2b8ab2062
39.60 - SHA1:1eec0f5f970fa4757bf9eb7527880359d4084d7f [weak]
39.60 - MD5Sum:7e41bd8552c5ddd8a7292feacdbd4555 [weak]
39.60 Release file created at: Sat, 15 Jun 2024 03:14:19 +0000
39.60 W: Some index files failed to download. They have been ignored, or old ones used instead.
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
1 Like
Hi @liuyt , thank you for your reply,
I am trying to follow this tutorial Realsense set up . When changing to version 2.1, another error happened:
cd ${ISAAC_ROS_WS}/src/isaac_ros_common &&
./scripts/run_dev.sh -d ${ISAAC_ROS_WS}
Specified isaac_ros_dev does not exist: -d
Have you met this problem before? I am new to this and very much appreciate any help!
liuyt
June 17, 2024, 12:20am
4
hvtung2697:
-d
I set the ISAAC_ROS_WS as a system environment valiable and not used in the command line.
1 Like
kcz
June 17, 2024, 3:32am
5
Same issue. Issac team, please fix it. Thanks
I would downgrade my realsense Sdk in order to use it. TT. Thank you for your information! I would give it a try!
Hi all,
This error looks similar to this other post Unable to run apt update, file has unexpected size - #4 by Raffaello
I keep you posted when is fixed.
Best,
Raffaello
1 Like
The issue has been fixed. Please let me know if everything returns to normal.
Best,
Raffaello
1 Like
system
Closed
July 1, 2024, 4:28pm
9
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.