-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPG error: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 InRelease: The following signatures couldn't be verified because the public key is not available: #463
Comments
I have the same problem |
I have the same problem. Most solutions that were suggested did not work for me. |
remove /etc/apt/sources.list.d/cuda.list and /etc/apt/sources.list.d/nvidia-ml.list before updating the key. RUN rm /etc/apt/sources.list.d/cuda.list |
I got the same errors and none of the solutions suggested by nvdia-cuda worked for me. |
I was able to build the Docker container from the Dockerfile last week by adding this line:
|
Thanks [px172] and [fbartusch]. That solves it. In the Dockerfile after
Although I never had these files (cuda.list & nvidia-ml.list) ^^ |
I have exactly the same problem. None of the suggestions above helped. Is there an update from the developers on this issue yet? docker build -f docker/Dockerfile -t alphafold . |
@0Bernhard Have you tried adding the following just below the SHELL ["/bin/bash", "-c"]
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub The issue is also known to Nvidia and they will hopefully resolve it soon (this week) by releasing an updated Docker image, see https://gitlab.com/nvidia/container-images/cuda/-/issues/158 for more details. |
FYI, there are two PRs that fix this by running apt-key command, so you can use those until Nvidia fixes this if you want |
fbartusch's answer seemed to work for me. Thanks. |
Fixed in 55c948c by bumping the CUDA version to 11.1.1. |
trying to build the docker image for AlphaFold v2.2.0 on CentOS 7 using:
docker build -f docker/Dockerfile -t alphafold .
But I fail with this message:
W: GPG error: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease' is not signed.
Could you assist me here ?
(alphafold) [root@localhost alphafold-2.2.0]# docker build -f docker/Dockerfile -t alphafold .
Sending build context to Docker daemon 7.203MB
Step 1/18 : ARG CUDA=11.1
Step 2/18 : FROM nvidia/cuda:${CUDA}-cudnn8-runtime-ubuntu18.04
---> 81a7b51c961c
Step 3/18 : ARG CUDA
---> Using cache
---> 7b4ea3583467
Step 4/18 : SHELL ["/bin/bash", "-c"]
---> Using cache
---> 821d4ba2ec1f
Step 5/18 : RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential cmake cuda-command-line-tools-${CUDA/./-} git hmmer kalign tzdata wget && rm -rf /var/lib/apt/lists/*
---> Running in 131c8c2a7422
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease [1575 B]
Err:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
Get:3 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Ign:4 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 InRelease
Get:5 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 Release [564 B]
Get:6 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 Release.gpg [833 B]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [21.1 kB]
Get:8 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2747 kB]
Get:9 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 Packages [73.8 kB]
Get:10 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [921 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1498 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]
Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2275 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3181 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [29.8 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [954 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [12.2 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [12.9 kB]
Reading package lists...
W: GPG error: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease' is not signed.
The command '/bin/bash -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential cmake cuda-command-line-tools-${CUDA/./-} git hmmer kalign tzdata wget && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
The text was updated successfully, but these errors were encountered: