Apt-get update fails on pytorch/pytorch:1.4-cuda10.1-cudnn7-devel

Err:11 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 Packages
File has unexpected size (47871 != 49498). Mirror sync in progress? [IP: 152.195.19.142 443]
Hashes of expected file:
- Filesize:49498 [weak]
- SHA256:332f3ee4e353b8a5e5a2bdd8fdbd47cf140c73822b82b328815f122e09e195a0
- SHA1:4dc8ef9a3ee3c97b3c26d46e07fdd83997e6880b [weak]
- MD5Sum:bbff3b9c3462257479d72521ee78ec29 [weak]

Looks like a mismatch between what is in the release file and the actual size of the Packages.gz

2 Likes

I’m experiencing the same issue, started 26 hours ago

1 Like

+1 I am seeing the same issue.

1 Like

Same here

Hi guys,
I am the one who opened the original issue (https://github.com/NVIDIA/nvidia-docker/issues/1392#issuecomment-703311915) on Github.
Just want to let you know that I was able to work around this issue by doing the following in my Dockerfile

FROM nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04
RUN rm /etc/apt/sources.list.d/nvidia-ml.list && apt-get clean && apt-get update

Hope this helps

1 Like