oneAPI Registration, Download, Licensing and Installation
Support for Getting Started questions related to download, Installation and licensing for Intel oneAPI Toolkits and software development tools.
1500 Discussions

OneAPI apt repository - File has unexpected size - Mirror sync in progress?

Matthias1102
Employee
1,888 Views

I am trying to build a Docker container, which adds https://apt.repos.intel.com/oneapi to its list of repositories for the apt tool. However, when my docker build command executes apt-get update, I can see the following failure.

This looks similar to the issue "OneAPI apt repository broken". Can I expect that this issue is a temporary error (although I can see this issue for three hours now). Or is there something broken with the OneAPI repository?

#78 11.15 + apt-get update -y
#78 11.38 Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease
#78 11.38 Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
#78 11.40 Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
#78 11.41 Hit:4 https://apt.repos.intel.com/openvino/2021 all InRelease
#78 11.44 Hit:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease
#78 11.50 Hit:6 http://packages.ros.org/ros/ubuntu focal InRelease
#78 11.52 Get:7 https://apt.repos.intel.com/oneapi all InRelease [10.2 kB]
#78 11.52 Hit:8 https://librealsense.intel.com/Debian/apt-repo focal InRelease
#78 11.61 Hit:9 http://packages.ros.org/ros2/ubuntu focal InRelease
#78 12.21 Get:10 https://apt.repos.intel.com/oneapi all/main amd64 Packages [295 kB]
#78 12.28 Get:11 https://apt.repos.intel.com/oneapi all/main all Packages [74.0 kB]
#78 12.28 Err:11 https://apt.repos.intel.com/oneapi all/main all Packages
#78 12.28   File has unexpected size (74042 != 74046). Mirror sync in progress? [IP: 10.217.247.236 912]
#78 12.28   Hashes of expected file:
#78 12.28    - Filesize:74046 [weak]
#78 12.28    - SHA512:9b82595349a9ed0f7860b2032f8e4e79d119e7f44c4540dd5927c27c0b581bbe207e97ccb66632fca7db5652cec3eac8b2131bce61282127d380a8cb94a80b6f
#78 12.28    - SHA256:b48f8f4024d593d058f0fd2c11b2d1c93f18770ae832e0eafc76c7eff611a4c5
#78 12.28    - SHA1:5981a44d389d3f6d18e843f8adb66d6cd0e5fad7 [weak]
#78 12.28    - MD5Sum:a4034432de961ed99ab9ef004f836c32 [weak]
#78 12.28   Release file created at: Thu, 10 Nov 2022 03:29:10 +0000
#78 12.42 Fetched 305 kB in 1s (260 kB/s)
#78 12.42 Reading package lists...
#78 13.73 E: Failed to fetch https://apt.repos.intel.com/oneapi/dists/all/main/binary-all/Packages.gz  File has unexpected size (74042 != 74046). Mirror sync in progress? [IP: 10.217.247.236 912]
#78 13.73    Hashes of expected file:
#78 13.73     - Filesize:74046 [weak]
#78 13.73     - SHA512:9b82595349a9ed0f7860b2032f8e4e79d119e7f44c4540dd5927c27c0b581bbe207e97ccb66632fca7db5652cec3eac8b2131bce61282127d380a8cb94a80b6f
#78 13.73     - SHA256:b48f8f4024d593d058f0fd2c11b2d1c93f18770ae832e0eafc76c7eff611a4c5
#78 13.73     - SHA1:5981a44d389d3f6d18e843f8adb66d6cd0e5fad7 [weak]
#78 13.73     - MD5Sum:a4034432de961ed99ab9ef004f836c32 [weak]
#78 13.73    Release file created at: Thu, 10 Nov 2022 03:29:10 +0000
#78 13.73 E: Some index files failed to download. They have been ignored, or old ones used instead.

 

0 Kudos
1 Solution
Matthias1102
Employee
1,757 Views

I build the Docker container only occasionally. But during the last two weeks, I haven't observed the issue anymore.

View solution in original post

0 Kudos
6 Replies
ArpanB_Intel
Moderator
1,870 Views

Hi Matthias, please click here: https://www.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-oneapi-base-linux/top/using-containers.html, to know more on how to use containers with Intel® oneAPI Base Toolkit.


For guidelines on using containers with the command line, visit here: https://www.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-oneapi-base-linux/top/using-containers/using-containers-with-the-command-line.html


Please let us know if the issue still persists.


0 Kudos
Matthias1102
Employee
1,852 Views

Hi ArpanB,

thank you very much for your answer. I will consider it in the future.

However, the Docker container, which I want to build, belongs to an existing project. The Dockerfile uses the INCLUDE+ instruction to include Dockerfiles of several other components -- including OneAPI. I am not happy with this approach, but we cannot change it at the moment.

Anyhow, I have seen that in the meantime the container build process works again. So it was indeed a temporary error. Since I am not the only one who has reported this issue (the post "OneAPI apt repository broken" seems to address the same topic), do you have an rough estimation how often https://apt.repos.intel.com/oneapi enters into such an inconsistent state?

Best regards

Matthias

0 Kudos
ArpanB_Intel
Moderator
1,845 Views

Matthias, we have contacted you privately with some information. Please check your inbox for further updates.


0 Kudos
ArpanB_Intel
Moderator
1,770 Views

Matthias, thank you for your patience while we were working on your issue. Could you check if you are still encountering the issue on your end now?


We would like to know.


0 Kudos
Matthias1102
Employee
1,758 Views

I build the Docker container only occasionally. But during the last two weeks, I haven't observed the issue anymore.

0 Kudos
ArpanB_Intel
Moderator
1,745 Views

Matthias, thank you for sharing the update with us. We are glad that the issue has been resolved.


If you have any further queries, please post a new question as this thread will no longer be monitored by Intel®.


0 Kudos
Reply