APT Mirror issue with cuda.list
Description
Using 11.3.1-base-ubuntu20.04, I am not able to run apt update
because of the mirror from /etc/apt/source.list.d/cuda.list
which is: deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 /
.
To reproduce this error
Start the container:
docker run --runtime nvidia -it nvidia/cudagl:11.3.1-base-ubuntu20.04
Or: docker run -it nvidia/cudagl:11.3.1-base-ubuntu20.04
Run: apt update
Logs
E: Failed to fetch https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/Packages.gz File has unexpected size (343435 != 345084). Mirror sync in progress? [IP: 152.195.19.142 443]
Hashes of expected file:
- Filesize:345084 [weak]
- SHA256:e9af61c4b2f44d714b157c49e40e92f98f50c98ef7d0fa45fc52ddd47947549a
- SHA1:79bf92660b1b0560c26d0d517c78778cad8a51ce [weak]
- MD5Sum:5a2b1f6d478629f661cc4149f9f2a602 [weak]
Release file created at: Tue, 06 Jul 2021 23:02:03 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Edited by sebastienmascha