Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Mateo_G_Intel
Employee
347 Views

APT repository not working - Unexpected File size

Hi, 

OpenVINO apt repository is not working, showing a File unexpected size error.

I'm following the OpenVINO APT Installation instructions

 

$ apt-get update
Get:1 https://apt.repos.intel.com/openvino/2020 all InRelease [5639 B]
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                                        
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease                                                                           
Get:4 https://apt.repos.intel.com/openvino/2020 all/main all Packages [1432 B]
Err:4 https://apt.repos.intel.com/openvino/2020 all/main all Packages         
  File has unexpected size (1976 != 1432). Mirror sync in progress? [IP: 23.62.73.50 443]
  Hashes of expected file:
   - Filesize:1432 [weak]
   - SHA512:e450b01f32f0db4928951628f7930bb55abac494bec9370d53c8032ff28ae7c690053bc96c2ab364fd6b8afc6fc87060af061aa9d5315ff85e455449cf56d985
   - SHA256:5df8fb3e6c8d7f80849bf82c56a39bf05f82f974f158b87008560ab7ca554221
   - SHA1:7ea3434168cd0e3ce861d443e885729a9cabce00 [weak]
   - MD5Sum:c4e42f6b5524cdaf396ebc3eb1195faf [weak]
  Release file created at: Thu, 09 Apr 2020 13:51:50 +0000
Hit:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease               
Get:6 https://apt.repos.intel.com/openvino/2020 all/main amd64 Packages [8901 B]                    
Err:6 https://apt.repos.intel.com/openvino/2020 all/main amd64 Packages                            
  
Hit:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease             
Fetched 5639 B in 1s (6731 B/s)                    
Reading package lists... Done
E: Failed to fetch https://apt.repos.intel.com/openvino/2020/dists/all/main/binary-all/Packages.gz  File has unexpected size (1976 != 1432). Mirror sync in progress? [IP: 23.62.73.50 443]
   Hashes of expected file:
    - Filesize:1432 [weak]
    - SHA512:e450b01f32f0db4928951628f7930bb55abac494bec9370d53c8032ff28ae7c690053bc96c2ab364fd6b8afc6fc87060af061aa9d5315ff85e455449cf56d985
    - SHA256:5df8fb3e6c8d7f80849bf82c56a39bf05f82f974f158b87008560ab7ca554221
    - SHA1:7ea3434168cd0e3ce861d443e885729a9cabce00 [weak]
    - MD5Sum:c4e42f6b5524cdaf396ebc3eb1195faf [weak]
   Release file created at: Thu, 09 Apr 2020 13:51:50 +0000
E: Failed to fetch https://apt.repos.intel.com/openvino/2020/dists/all/main/binary-amd64/Packages.gz  
E: Some index files failed to download. They have been ignored, or old ones used instead.



Reproduction steps in a Docker container: 

docker run -ti ubuntu:18.04 /bin/bash
apt-get update
apt-get install -y ca-certificates gnupg wget
wget https://apt.repos.intel.com/openvino/2020/GPG-PUB-KEY-INTEL-OPENVINO-2020 
apt-key add GPG-PUB-KEY-INTEL-OPENVINO-2020
echo "deb https://apt.repos.intel.com/openvino/2020 all main" > /etc/apt/sources.list.d/intel-openvino-2020.list
apt-get update

 





 

0 Kudos
1 Reply
Mateo_G_Intel
Employee
347 Views

Looks like this was a temporary error. 
The repository is working as expected now. 

Reply