I follow the instructions and get following message when trying to do sudo apt-get update. Does it relate to me working behind a proxy? I had to add -k option to curl but I believe it completed successfully.
Ign:11 https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64 InRelease
Err:12 https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64 Release Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 185.46.212.88 80]
Err:13 https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/amd64 Release Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 185.46.212.88 80]
Err:14 https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64 Release Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 185.46.212.88 80] Reading package lists... Done
E: The repository 'https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64 Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/amd64 Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64 Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. m
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -k -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
curl -k -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
uname -anvidia-smi -adocker versionI also have the same issue.
I tried the solution provided #1126 but did not work for me.
Did anyone solve this problem ??
(I also use the proxy)
My version is as follows.
[ ] Kernel version from uname -a
5.3.0-59-generic
[ ] Driver information from nvidia-smi -a
NVIDIA-SMI 440.82.00 Driver Version: 440.64.00 CUDA Version: 10.1
[ ] Docker version from docker version
19.03.11
I solved this problem.
Under the proxy you have to use -E option when you use "sudo apt-get update". Usually "sudo apt-get update" does not follow the your local machine's proxy settings.
Therefore, first you write proxy setting to ~/.bashrch. (I think there are a lot of other options please google it)
At first, confirm the proxy settings
$ printenv http_proxy https_proxy
If you dont get any results, you should write proxy settings.
Second, follow the installations. but you should use -E options.
$ distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
$ curl -k -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo -E apt-key add -
Use -E options!!
$ curl -k -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list
Then update, with -E option
$ sudo -E apt-get update
Finally, you can install the nvidia-docker also with -E option.
$ sudo -E apt-get install -y nvidia-container-toolkit
I have still trouble while installing nvidia-container-toolkit. The error messages are same to yours on top, even while using the "-E" option:
sudo -E apt-get update && sudo -E apt-get install -y nvidia-container-toolkit
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu bionic InRelease
Ign:3 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64 InRelease
Hit:4 http://de.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 http://de.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:6 https://download.docker.com/linux/ubuntu bionic InRelease
Ign:7 https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/amd64 InRelease
Ign:8 https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64 InRelease
Err:9 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64 Release
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 199.19.250.205 80]
Err:10 https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/amd64 Release
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 199.19.250.205 80]
Err:11 https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64 Release
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 199.19.250.205 80]
Reading package lists... Done
E: The repository 'https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64 Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/amd64 Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64 Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
sudo -E apt-get install -y nvidia-container-toolkit
thanks u,So,I now that apt-get dose not go proxy.
Most helpful comment
I solved this problem.
Under the proxy you have to use -E option when you use "sudo apt-get update". Usually "sudo apt-get update" does not follow the your local machine's proxy settings.
Therefore, first you write proxy setting to ~/.bashrch. (I think there are a lot of other options please google it)
At first, confirm the proxy settings
$ printenv http_proxy https_proxyIf you dont get any results, you should write proxy settings.
Second, follow the installations. but you should use -E options.
$ distribution=$(. /etc/os-release;echo $ID$VERSION_ID)$ curl -k -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo -E apt-key add -Use -E options!!
$ curl -k -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.listThen update, with -E option
$ sudo -E apt-get updateFinally, you can install the nvidia-docker also with -E option.
$ sudo -E apt-get install -y nvidia-container-toolkit