Can't get cuda-drivers ubuntu package. NVidia server error 504

W: Failed to fetch http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/InRelease  504  Gateway Timeout [IP: 192.229.211.70 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package cuda-drivers

Today installation was fine.

This is happening to me today. Been trying for 2 or 3 hours to install CUDA toolkit. Have tried the network installer, the local installer, the local shell script, all error out with 504.

Err:12 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease
  504  Gateway Timeout [IP: 152.199.39.144 80]

and, following the instructions on https://developer.nvidia.com/cuda-10.2-download-archive?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1804&target_type=deblocal:

wget http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda-repo-ubuntu1804-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb
--2020-06-18 12:33:06--  http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda-repo-ubuntu1804-10-2-local-10.2.89-440.33.01_1.0-1_amd64.deb
Resolving developer.download.nvidia.com (developer.download.nvidia.com)... 152.199.39.144
Connecting to developer.download.nvidia.com (developer.download.nvidia.com)|152.199.39.144|:80... connected.
HTTP request sent, awaiting response... 504 Gateway Timeout
Retrying.

...

Is this a just a semi-regular thing that you need to wait out?

Edit: Okay, I’m in New Zealand trying this locally. I logged into a remote AWS instance and it worked fine. So must be some sort of local DNS issue.

1 Like