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.

OneApi apt repository seems broken

BertScholten
Novice
1,379 Views

Since this week we are having problems with building a docker image that uses a package from oneAPI apt repository.


The error we are getting is:

10:00:54 E: Failed to fetch https://apt.repos.intel.com/oneapi/dists/all/main/binary-amd64/Packages.bz2  File has unexpected size (119569 != 119751). Mirror sync in progress? [IP: 88.221.70.25 443]
10:00:54    Hashes of expected file:
10:00:54     - Filesize:119751 [weak]
10:00:54     - SHA512:aaeb7b95c066cd24a07923192988d8bd7d80fa8c0de3e9ba72ee2704c5af126f8fce80a898450b825b79f816db655f583095c808e8b58351a532bc9c2902bbf1
10:00:54     - SHA256:20ee4c32f5cceb537a8b55b91e13c4b5d2f54a7346ec54bf25f98176902fb39f
10:00:54     - SHA1:4118cc82fbddd5c7c4a7a1631df7d082ac945d13 [weak]
10:00:54     - MD5Sum:18d314c19cdfaab7aff2fc2f4a90a060 [weak]
10:00:54    Release file created at: Fri, 11 Feb 2022 19:07:47 +0000
10:00:54 E: Some index files failed to download. They have been ignored, or old ones used instead.

The command we are running is the following:

/bin/sh -c TEMPDIR="$(mktemp -d)"     && cd "${TEMPDIR}"     && apt update     && apt install -y clinfo gnupg     && wget -qO - 'https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB' | apt-key add -     && echo 'deb https://apt.repos.intel.com/oneapi all main' | tee /etc/apt/sources.list.d/oneAPI.list     && apt update     && apt install -y intel-oneapi-runtime-opencl intel-oneapi-runtime-compilers

 

0 Kudos
1 Solution
BertScholten
Novice
1,309 Views

Hi Soumya,

 

2 hours after my last post we still got an error, but about 3 hours after it succeeded

 

15:07:09 Get:5 https://apt.repos.intel.com/oneapi all/main amd64 Packages [120 kB]
15:07:09 Err:5 https://apt.repos.intel.com/oneapi all/main amd64 Packages
15:50:30 Get:5 https://apt.repos.intel.com/oneapi all/main all Packages [24.5 kB]
15:50:30 Fetched 6246 kB in 0s (62.3 MB/s)

 So it did seem to be fixed around that time for us as well. 

 

Thanks for looking into this at least.

View solution in original post

0 Kudos
5 Replies
Soumya_M_Intel
Moderator
1,347 Views

Hi BertScholten,


Thanks for posting your concern on the forum. We are checking on it with our resources. Please wait for 2-3 business days. We will get back to you as soon as possible.


Regards,

Soumya


0 Kudos
BertScholten
Novice
1,337 Views

Hi Soumya,

 

Thanks for looking into this. 
We're also getting errors where the expected file sizes have switched places and the Release file creation date is different (earlier than the one before, even though the error occured today):

13:08:31 E: Failed to fetch https://apt.repos.intel.com/oneapi/dists/all/main/binary-amd64/Packages.bz2  File has unexpected size (119751 != 119569). Mirror sync in progress? [IP: 23.222.54.106 443]
13:08:31    Hashes of expected file:
13:08:31     - Filesize:119569 [weak]
13:08:31     - SHA512:ce654aaeae14d4764f443f02bc209ecc4669afeb1910c38dca26e698e5ab6b187c5a06c6cc1b64c902bdfc471b15efa98bed961ec46e9aea20c242971ba99d84
13:08:31     - SHA256:edca4f26c8d27e1a97a60a108899435423e30acb144d508f0aa92e7b7d95e9cb
13:08:31     - SHA1:a0e0bc300d23711bd5bf54a1bdc95e5d8fcb26aa [weak]
13:08:31     - MD5Sum:e62538edd2d22d13d27aa05584cd1ad5 [weak]
13:08:31    Release file created at: Sat, 22 Jan 2022 04:54:24 +0000
13:08:31 E: Some index files failed to download. They have been ignored, or old ones used instead.

 

0 Kudos
Soumya_M_Intel
Moderator
1,328 Views

Hi BertScholten,


We have tried to replicate the issue with our resources. However, it works fine currently. Please give it a try again. However, if the issue still persists, please let us know your operating system name and version. The information will allow us to check further.


Regards,

Soumya


0 Kudos
BertScholten
Novice
1,310 Views

Hi Soumya,

 

2 hours after my last post we still got an error, but about 3 hours after it succeeded

 

15:07:09 Get:5 https://apt.repos.intel.com/oneapi all/main amd64 Packages [120 kB]
15:07:09 Err:5 https://apt.repos.intel.com/oneapi all/main amd64 Packages
15:50:30 Get:5 https://apt.repos.intel.com/oneapi all/main all Packages [24.5 kB]
15:50:30 Fetched 6246 kB in 0s (62.3 MB/s)

 So it did seem to be fixed around that time for us as well. 

 

Thanks for looking into this at least.

0 Kudos
Soumya_M_Intel
Moderator
1,307 Views

Hi BertScholten,


Thanks for the update. We apologize for the inconvenience caused. There seemed to be a mirror sync error at the backend, which is temporary. Mirror sync is an update to the mirrors from a central/primary server by copying all the updated files over. During this process, there could be inconsistencies with the latest version. However, glad to know that it worked for you 3 hours later.


Proceeding further we are closing this thread. However, if you need any additional information, please feel free to post a new question as this thread will no longer be monitored by Intel®. 


Regards,

Soumya


0 Kudos
Reply