Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
415 Views

apt repository broken

After setting up the apt repositories on a fresh Ubuntu 18.04 container like described on https://software.intel.com/content/www/us/en/develop/articles/installing-intel-free-libs-and-python-..., I get the following error:

 

apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:2 https://apt.repos.intel.com/intelpython binary/ InRelease [1407 B]
Hit:3 https://apt.repos.intel.com/mkl all InRelease
Hit:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:6 https://apt.repos.intel.com/ipp all InRelease
Hit:7 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:8 https://apt.repos.intel.com/tbb all InRelease
Hit:9 https://apt.repos.intel.com/daal all InRelease
Hit:10 https://apt.repos.intel.com/mpi all InRelease
Get:11 https://apt.repos.intel.com/intelpython binary/ Packages [3283 B]
Err:11 https://apt.repos.intel.com/intelpython binary/ Packages
  File has unexpected size (3395 != 3283). Mirror sync in progress? [IP: 23.37.53.158 443]
  Hashes of expected file:
   - Filesize:3283 [weak]
   - SHA512:af04a2333d87d19d2021a7fa7198c38e7a2c13e597baf8390781522cd490f87d0fc5aa4bcde40291b1239a56fc59a6a4ba716872e84503c5f948bc990ee0791c
   - SHA256:5aeb424a1cf8fe9b94196f35983f3ca991955cb241cb0f0540e16cfcce71a19a
   - SHA1:220f00aa6808c6e39159cd0e6820a37d2df8a3a5 [weak]
   - MD5Sum:801112896bf8fefb01f79f3386c36ccc [weak]
  Release file created at: Thu, 05 Dec 2019 09:56:54 +0000
Fetched 1407 B in 2s (766 B/s)
Reading package lists... Done
W: Conflicting distribution: https://apt.repos.intel.com/intelpython binary/ InRelease (expected binary/ but got )
E: Failed to fetch https://apt.repos.intel.com/intelpython/binary/Packages.gz  File has unexpected size (3395 != 3283). Mirror sync in progress? [IP: 23.37.53.158 443]
   Hashes of expected file:
    - Filesize:3283 [weak]
    - SHA512:af04a2333d87d19d2021a7fa7198c38e7a2c13e597baf8390781522cd490f87d0fc5aa4bcde40291b1239a56fc59a6a4ba716872e84503c5f948bc990ee0791c
    - SHA256:5aeb424a1cf8fe9b94196f35983f3ca991955cb241cb0f0540e16cfcce71a19a
    - SHA1:220f00aa6808c6e39159cd0e6820a37d2df8a3a5 [weak]
    - MD5Sum:801112896bf8fefb01f79f3386c36ccc [weak]
   Release file created at: Thu, 05 Dec 2019 09:56:54 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

 

Looks to me like the InRelease file is outdated?

 

$ curl https://apt.repos.intel.com/intelpython/binary/Release
Architectures: amd64
Homepage: https://software.intel.com/python-distribution
Label: Intel(R) Distribution for Python* APT Repository
Date: Thu, 26 Mar 2020 18:18:07 +0000
MD5Sum:
 b5d1f09a0b0244c4c2b94a60b31ce5ce 15520 Packages
 6677523e653314adb40378d4f1de5bd3 3395 Packages.gz
SHA1:
 8d56fd065d68b20c6d5ca256a9d2a7fa77e9d5d8 15520 Packages
 7ed1cc261dcb8dfb8e389292edd133ba721d3ec8 3395 Packages.gz
SHA256:
 dff8c691abeec55f71bd4508edec79b3361fd89c0031ffe024452d1a1876e02d 15520 Packages
 a07236b6ccef29aebe79c0e5d78dd67819bdeba24030b20bfbb324bb7e9080db 3395 Packages.gz
SHA512:
 54c9a4d93b6f632dcc727f11ce822fc8065743b090f63052dce41f9771c999beeae92536b6784dd5d3e1d66a02332be293ce7889451aea30ab9929d0a8452c26 15520 Packages
 67561eddc04b59d2339e01ceda20bf3c309db72e508bbf844d157cae0ef636e37137143dbea147b69c6a8a25810215cd5be210d49a9c9666626df99f5a06f704 3395 Packages.gz



$ curl https://apt.repos.intel.com/intelpython/binary/InRelease
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Architectures: amd64
Homepage: https://software.intel.com/python-distribution
Label: Intel(R) Distribution for Python* APT Repository
Date: Thu, 05 Dec 2019 09:56:54 +0000
MD5Sum:
 faf332bef8485bdd34a3aac396645e67 15023 Packages
 801112896bf8fefb01f79f3386c36ccc 3283 Packages.gz
SHA1:
 aa0ba9d5ce2b5a0b3af92ed8ca28a42ec85de896 15023 Packages
 220f00aa6808c6e39159cd0e6820a37d2df8a3a5 3283 Packages.gz
SHA256:
 163126ad2c4103f176059b2135d604db091faad01a0edec3b45c65f0a220d186 15023 Packages
 5aeb424a1cf8fe9b94196f35983f3ca991955cb241cb0f0540e16cfcce71a19a 3283 Packages.gz
SHA512:
 fa1ce5cb1002d3a50a9a04876abffbd3a2484f5f39fa983ab3c39d3af125e3447fd8056938f679322f7d0a4b7ea70a6c419c35c6f691273dbc089869308c6909 15023 Packages
 af04a2333d87d19d2021a7fa7198c38e7a2c13e597baf8390781522cd490f87d0fc5aa4bcde40291b1239a56fc59a6a4ba716872e84503c5f948bc990ee0791c 3283 Packages.gz
-----BEGIN PGP SIGNATURE-----
Version: Secure Code Signing

iQEcBAEBCAAGBQJd6NR6AAoJEKz6n8V+bF2+qscIAC0DAaeEr6SQPN6DTKScIwFv
Rq5JPyqJemy96p4lYLn+zqRL7MBFCMLjKzITYmJaQk89q7nETR55CzvIfbti0+dR
ZlxA4E8mPsk2fozEF2i6w4SPWicaSDz0pbpycXV01xd/22gmcTrvVkIKm2UuPSMi
S+QXElFyc1CbvghvfbtDC5Rc9lpn4ZZgXqKKPI18hznBaCcZCrhzjwV/ZilT/BoU
5yA6DKmSF9Gk/5J0wRMOpKSFpyTZixbdTI7NaAlPPuFDRLYitZbtxu1tDRq2pXIr
NcA6JUGAthIDGjoPFQ3EgflCW2+08PlOuTaJPEG9ofyp3A8VmDnoe8oevJ1zUJo=
=vG+O
-----END PGP SIGNATURE-----

 

Example to reproduce:

Here are the steps (verified on two difference machines on two difference internet connections, both in Germany, in case it's a CDN issue):

1. Start a fresh ubuntu container:

docker pull ubuntu:18.04
docker run -it ubuntu:18.04 bash

2. Install key and sources to reproduce the error:

apt update
apt install gnupg wget
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
wget https://apt.repos.intel.com/setup/intelproducts.list -O /etc/apt/sources.list.d/intelproducts.list
apt update

0 Kudos
6 Replies
Highlighted
Moderator
415 Views

Hi,

Thanks for reaching out to us.

We are unable to regenerate your issue. Could you please share the complete steps you followed for debugging the issue.

As an alternative, if you are trying to install Intel Distribution for Python , you can directly download and install from the below link.

https://software.intel.com/content/www/us/en/develop/tools/distribution-for-python/choose-download/l...

Also Intel Distribution for Python is available via multiple channels, please find the below link for more options like conda ,pip, Docker images etc:

https://software.intel.com/content/www/us/en/develop/tools/distribution-for-python/choose-download.h...

 

 

0 Kudos
Highlighted
415 Views

Thanks for the reply. Here are the steps (verified on two difference machines on two difference internet connections, both in Germany, in case it's a CDN issue):

1. Start a fresh ubuntu container:

docker pull ubuntu:18.04
docker run -it ubuntu:18.04 bash

2. Install key and sources to reproduce the error:

apt update
apt install gnupg wget
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
wget https://apt.repos.intel.com/setup/intelproducts.list -O /etc/apt/sources.list.d/intelproducts.list
apt update

 

0 Kudos
Highlighted
Moderator
415 Views

Hi,

We are forwarding this case to concerned team.

 

Thanks

0 Kudos
Highlighted
415 Views

Are there any updates on this? The install instructions are still failing (also on other systems like Ubuntu 20.04), breaking docker image builds that include them.

0 Kudos
Highlighted
Employee
415 Views

Hi nikolausdemmel,

  I repeat the steps provided by you.  No meet the error.

  I think it is gone.

  Could you check it?

 

  Thank you!

 

0 Kudos
Highlighted
415 Views

Thanks for getting back on this. The main issue is indeed fixed, thanks!

The only thing is, I still get a warning about the intel-python repository. It doesn't seem to prevent me from installing packages from that repository, but it is a bit annoying.

# apt update
Hit:1 https://apt.repos.intel.com/intelpython binary/ InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:5 https://apt.repos.intel.com/mkl all InRelease
Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Hit:7 https://apt.repos.intel.com/ipp all InRelease
Hit:8 https://apt.repos.intel.com/tbb all InRelease
Hit:9 https://apt.repos.intel.com/daal all InRelease
Hit:10 https://apt.repos.intel.com/mpi all InRelease
Fetched 163 kB in 2s (82.7 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Conflicting distribution: https://apt.repos.intel.com/intelpython binary/ InRelease (expected binary/ but got )
0 Kudos