404 in China when accessing cuda repo
When using docker image nvidia/cuda:11.4.0-base-ubuntu20.04
, we cannot run apt-get update:
# sudo docker run --rm -it --gpus all nvidia/cuda:11.4.0-base-ubuntu20.04 apt-get update
Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Get:3 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [782 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:6 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [27.6 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [368 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:9 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [930 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1275 kB]
Ign:5 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64 InRelease
Ign:10 https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu2004/x86_64 InRelease
Get:12 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64 Release [697 B]
Get:13 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64 Release.gpg [836 B]
Ign:15 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64 Packages
Get:14 https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu2004/x86_64 Release [564 B]
Get:16 https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu2004/x86_64 Release.gpg [833 B]
Get:17 https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu2004/x86_64 Packages [2445 B]
Get:18 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB]
Get:19 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]
Ign:15 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64 Packages
Ign:15 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64 Packages
Err:15 https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64 Packages
404 Not Found [IP: 60.167.130.134 443]
Get:20 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]
Get:21 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1055 kB]
Get:22 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1367 kB]
Get:23 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [416 kB]
Get:24 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [32.0 kB]
Get:25 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [6303 B]
Get:26 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [2668 B]
Fetched 18.4 MB in 8s (2427 kB/s)
Reading package lists... Done
E: Failed to fetch https://developer.download.nvidia.cn/compute/cuda/repos/ubuntu2004/x86_64/by-hash/SHA256/27b2dbb347d54776dec155d98e1eefbde6c10a3fd1295007c3e836cfd9b98522 404 Not Found [IP: 60.167.130.134 443]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Edited by xkszltl