Intel® Edge Software Hub
Get answers from community peers to your questions about building Edge Software Hub solutions for edge compute node.
Announcements
Welcome to the Intel Community! If you like the answer to your question, please mark it as 'Accepted Solution' to help others.

The Edge Software Vision Package for Red Hat Enterprise Linux is now available here.

Learn more about developing on Intel® Hardware and Software here.
404 Discussions

dock image for openvino failed

Yihongyu
Employee
1,640 Views

When running following,

"docker build --build-arg base_image=amr-ubuntu2004-ros2-foxy-sdk:2021.3 --tag amr-ubuntu2004-openvino-sdk:2021.3 --no-cache --file amr_ubuntu2004_openvino_sdk_env/Dockerfile amr_ubuntu2004_openvino_sdk_env"

 

 I met following issues on Nov 1117, but  it worked well on Nov 1116.  How to fix it?

Thank you!

 

"File has unexpected size (24698 != 29310). Mirror sync in progress? [IP: 23.74.41.153 443]"

 

More detail.

Step 18/56 : RUN wget -qO - ${OV_PUB_KEY} | sudo apt-key add -
---> Running in d720704eb982
+ wget -qO - 'https://apt.repos.intel.com/openvino/2021/GPG-PUB-KEY-INTEL-OPENVINO-2021?elq_cid=6776584_ts1617122180201&erpm_id=9838162_ts1617122180201'
+ sudo apt-key add -
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
Removing intermediate container d720704eb982
---> fe571cad864d
Step 19/56 : RUN echo "deb https://apt.repos.intel.com/openvino/2021 all main" | sudo tee /etc/apt/sources.list.d/intel-openvino-2021.list
---> Running in 5ab75bcd3330
+ echo 'deb https://apt.repos.intel.com/openvino/2021 all main'
+ sudo tee /etc/apt/sources.list.d/intel-openvino-2021.list
deb https://apt.repos.intel.com/openvino/2021 all main
Removing intermediate container 5ab75bcd3330
---> 35b3a5dee935
Step 20/56 : RUN sudo apt-get update && sudo apt-get install -y --no-install-recommends intel-openvino-dev-ubuntu20-2021.2.200 && rm -rf /var/lib/apt/lists/*
---> Running in c56b0113691d
+ sudo apt-get update
Get:1 http://packages.osrfoundation.org/gazebo/ubuntu-stable focal InRelease [4249 B]
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:3 http://packages.ros.org/ros/ubuntu focal InRelease [4676 B]
Get:4 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Get:5 http://packages.osrfoundation.org/gazebo/ubuntu-stable focal/main amd64 Packages [67.6 kB]
Get:6 http://packages.ros.org/ros2/ubuntu focal InRelease [4670 B]
Get:7 https://apt.repos.intel.com/openvino/2021 all InRelease [5659 B]
Get:8 http://packages.ros.org/ros/ubuntu focal/main amd64 Packages [594 kB]
Get:9 https://librealsense.intel.com/Debian/apt-repo focal InRelease [2400 B]
Get:10 https://apt.repos.intel.com/openvino/2021 all/main amd64 Packages [29.3 kB]
Err:10 https://apt.repos.intel.com/openvino/2021 all/main amd64 Packages
File has unexpected size (24698 != 29310). Mirror sync in progress? [IP: 23.74.41.153 443]
Hashes of expected file:
- Filesize:29310 [weak]
- SHA512:58800073acd93d4248ef4c17aa2d1e50a1e214cbcba78a6384c2367bad97c283d8b39637f25c292a3062a58ab0208562f56953547f6f5dde2bbd4945c9c205fc
- SHA256:c66a9e4dc7294fed90dc01840c7f76322ffe7756b0a8411b44b4cf12fa023454
- SHA1:cf8fc0ac1575c749746c50a5da869142645a38a7 [weak]
- MD5Sum:ffb68bc7dc4d128c7e3755262549bbff [weak]
Release file created at: Fri, 12 Nov 2021 14:00:08 +0000
Get:11 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [30.1 kB]
Get:12 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [682 kB]
Get:13 https://librealsense.intel.com/Debian/apt-repo focal/main amd64 Packages [25.8 kB]
Get:14 https://apt.repos.intel.com/openvino/2021 all/main all Packages [3585 B]
Get:15 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:16 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [809 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:18 http://packages.ros.org/ros2/ubuntu focal/main amd64 Packages [909 kB]
Get:19 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [1232 kB]
Get:20 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]
Get:21 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]
Get:22 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB]
Get:23 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1275 kB]
Get:24 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [33.3 kB]
Get:25 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1098 kB]
Get:26 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1689 kB]
Get:27 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [738 kB]
Get:28 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [2668 B]
Get:29 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [7185 B]
Fetched 21.4 MB in 39s (551 kB/s)
Reading package lists...
E: Failed to fetch https://apt.repos.intel.com/openvino/2021/dists/all/main/binary-amd64/Packages.gz File has unexpected size (24698 != 29310). Mirror sync in progress? [IP: 23.74.41.153 443]
Hashes of expected file:
- Filesize:29310 [weak]
- SHA512:58800073acd93d4248ef4c17aa2d1e50a1e214cbcba78a6384c2367bad97c283d8b39637f25c292a3062a58ab0208562f56953547f6f5dde2bbd4945c9c205fc
- SHA256:c66a9e4dc7294fed90dc01840c7f76322ffe7756b0a8411b44b4cf12fa023454
- SHA1:cf8fc0ac1575c749746c50a5da869142645a38a7 [weak]
- MD5Sum:ffb68bc7dc4d128c7e3755262549bbff [weak]
Release file created at: Fri, 12 Nov 2021 14:00:08 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/bash -xo pipefail -c sudo apt-get update && sudo apt-get install -y --no-install-recommends intel-openvino-dev-ubuntu20-2021.2.200 && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

 

 

0 Kudos
1 Solution
Nadia_J_Intel
Moderator
1,606 Views

Hi Yihongyu, 

Do you still encounter this issue when building the docker image ? I tried to replicate the issue but did not encounter the same thing that you observed here. 

 

Thanks. 

Nadia

View solution in original post

0 Kudos
4 Replies
Yihongyu
Employee
1,636 Views

Looks like following packages have an issue.

 

Get:10 https://apt.repos.intel.com/openvino/2021 all/main amd64 Packages [29.3 kB]
Err:10 https://apt.repos.intel.com/openvino/2021 all/main amd64 Packages
File has unexpected size (24698 != 29310). Mirror sync in progress? [IP: 23.74.41.153 443]
Hashes of expected file:
- Filesize:29310 [weak]

0 Kudos
JesusE_Intel
Moderator
1,627 Views

Hi Yihongyu,


I am checking with the appropriate team on this, I'll let you know what I find out.


Regards,

Jesus


0 Kudos
Nadia_J_Intel
Moderator
1,607 Views

Hi Yihongyu, 

Do you still encounter this issue when building the docker image ? I tried to replicate the issue but did not encounter the same thing that you observed here. 

 

Thanks. 

Nadia

0 Kudos
JesusE_Intel
Moderator
1,565 Views

If you need any additional information, please submit a new question as this thread will no longer be monitored.


0 Kudos
Reply