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 broken

iboscu
Employee
3,985 Views

I get the following error while trying to install package from oneapi repo for ubuntu 20:

00:18:20  Err:28 https://apt.repos.intel.com/oneapi all/main amd64 Packages
00:18:20    File has unexpected size (83963 != 84078). Mirror sync in progress? [IP: 10.217.252.86 912]
00:18:20    Hashes of expected file:
00:18:20     - Filesize:84078 [weak]
00:18:20     - SHA512:400503ceea03ae1129dc066b8ee6f69f161ee8e1028cabdc9fd7325902d056131742631b545138523f8b3c25bf55bea403be7b01e88b99383c4b13b79a476ce2
00:18:20     - SHA256:4a0c276e3e5c51ff7bcf913b1bf2aee57b044e8b585c1046ffba8189a925cb58
00:18:20     - SHA1:83c80e4bf162047c9f972f6a0ca96d28ebcf5cbd [weak]
00:18:20     - MD5Sum:c7797496f6ab7e099922f4e28fc8f3b1 [weak]
00:18:20    Release file created at: Mon, 19 Jul 2021 22:19:28 +0000
00:18:20  Get:29 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [2668 B]
00:18:20  Get:30 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [6303 B]
00:18:20  Get:31 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [985 kB]
00:18:20  Get:32 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [34.7 kB]
00:18:20  Fetched 20.1 MB in 2s (9471 kB/s)
00:18:21  Reading package lists...
00:18:21  E: Failed to fetch https://apt.repos.intel.com/oneapi/dists/all/main/binary-amd64/Packages.gz  File has unexpected size (83963 != 84078). Mirror sync in progress? [IP: 10.217.252.86 912]
00:18:21     Hashes of expected file:
00:18:21      - Filesize:84078 [weak]
00:18:21      - SHA512:400503ceea03ae1129dc066b8ee6f69f161ee8e1028cabdc9fd7325902d056131742631b545138523f8b3c25bf55bea403be7b01e88b99383c4b13b79a476ce2
00:18:21      - SHA256:4a0c276e3e5c51ff7bcf913b1bf2aee57b044e8b585c1046ffba8189a925cb58
00:18:21      - SHA1:83c80e4bf162047c9f972f6a0ca96d28ebcf5cbd [weak]
00:18:21      - MD5Sum:c7797496f6ab7e099922f4e28fc8f3b1 [weak]
00:18:21     Release file created at: Mon, 19 Jul 2021 22:19:28 +0000
00:18:21  E: Some index files failed to download. They have been ignored, or old ones used instead.
00:18:21  /usr/lib/python3/dist-packages/invoke/config.py:906: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
00:18:21    return yaml.load(fd)
00:18:21  The command '/bin/bash -xo pipefail -c apt-get update -y &&                                                apt-get install -y --no-install-recommends -o=Dpkg::Use-Pty=0       intel-oneapi-dpcpp-ct                                               && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
1 Solution
Soumya_M_Intel
Moderator
3,884 Views

Hi iboscu, 


We tested the apt-repo installation on our end and it works now. The mirror sync error 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. Run the command again, and let us know if you face the same error again.


Regards,

Soumya


View solution in original post

0 Kudos
4 Replies
Soumya_M_Intel
Moderator
3,911 Views

Hi iboscu,


Thanks for posting your concern on the forum. We are currently checking on the issue with our internal team. We will get back to you as soon as possible.


Regards,

Soumya


0 Kudos
Soumya_M_Intel
Moderator
3,885 Views

Hi iboscu, 


We tested the apt-repo installation on our end and it works now. The mirror sync error 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. Run the command again, and let us know if you face the same error again.


Regards,

Soumya


0 Kudos
Soumya_M_Intel
Moderator
3,837 Views

Hi iboscu,


Please let us know if there are any further concerns.


Regards,

Soumya


0 Kudos
Soumya_M_Intel
Moderator
3,821 Views

Hi iboscu,


I have not heard from you in the last 20 days. I assume that your issue is resolved. However, if you need any additional information, please post a new question as this thread will no longer be monitored by Intel®. 


Have a nice day ahead.


Regards,

Soumya


0 Kudos
Reply