-
Notifications
You must be signed in to change notification settings - Fork 2k
File has Unexpected Size on Ubuntu 18.04 #877
Comments
Hello! This looks like a CUDA package bug (separate from this repository). I'll try to followup internally. |
Appreciate your help! |
Hello! Are you still seeing this error? Feel free to reopen if you see that issue again! |
Getting this when I |
We have the same problem and this broke our CI at the moment |
sudo apt-get clean Works for me !! |
It is, the weird thing is I use |
|
@azuryl Please see the link from #1009 (comment) Note that this may be due to a CDN issue with the CUDA downloads repositories and are not specific to NVIDIA docker. Closing this issue. |
After following the code below on Ubuntu 18.04,
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey |
sudo apt-key add -
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list |
sudo tee /etc/apt/sources.list.d/nvidia-docker.list
sudo apt-get update
The following error message shows up
Err:16 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 Packages
File has unexpected size (40587 != 33901). Mirror sync in progress? [IP: 183.214.10.142 443]
Hashes of expected file:
Release file created at: Tue, 23 Oct 2018 18:29:19 +0000
Fetched 1365 B in 3s (400 B/s)
Reading package lists... Done
E: Failed to fetch https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/Packages.gz File has unexpected size (40587 != 33901). Mirror sync in progress? [IP: 183.214.10.142 443]
Hashes of expected file:
- Filesize:33901 [weak]
- SHA256:ada3b63d8229648317922f810461ea11d03effd07289d966f03962b131e50956
- SHA1:8c65897f47b0249cc1eef8acd8f3c5f014480c03 [weak]
- MD5Sum:c051aac1e991199d4868714dfeb5017e [weak]
Release file created at: Tue, 23 Oct 2018 18:29:19 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
The result of wget https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/Release is:
Origin: NVIDIA
Label: NVIDIA CUDA
Architecture: x86_64
Date: Tue, 06 Nov 2018 23:45:57 +0000
MD5Sum:
6d39c0ebacbe177afdc4764164cd2747 12741 Packages
fca3449155ce97b5696260198d36b830 3879 Packages.gz
SHA1:
e6b58bcda7c4e8a7274419bf38e8c25eddffa885 12741 Packages
6f5c45c230728b52a17a3593b16899f5cc3df493 3879 Packages.gz
SHA256:
2fcf5efb29233137c034b2e5e1655ab8189bd5795d5ba0142aab6e349d581f50 12741 Packages
471541e85b0ff722eb4562f4668cbd1d034f3e6ed85bf00c0685dd5d587a1530 3879 Packages.gz
Additional Info
Driver Version: 415.18
CUDA Version: 10.0
Docker:
Version: 18.06.1-ce
API version: 1.38
Go version: go1.10.4
Git commit: e68fc7a
Built: Fri Oct 19 19:43:14 2018
OS/Arch: linux/amd64
Experimental: false
Many thanks for your help!
The text was updated successfully, but these errors were encountered: