nvidia-docker icon indicating copy to clipboard operation
nvidia-docker copied to clipboard

while buiding the docker image I get the following error log. If anyone could help me to overcome this issue, it would be great. Thanks

Open DSRajesh opened this issue 2 years ago • 2 comments

Step 3/25 : RUN : && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends software-properties-common && add-apt-repository -y ppa:deadsnakes && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python3.8-venv && apt-get clean && rm -rf /var/lib/apt/lists/* && : ---> Running in eb9f2899e448 Get:1 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 InRelease [1575 B] Err:1 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: NO_PUBKEY A4B469963BF863CC Get:2 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB] Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB] Get:6 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB] Get:7 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB] Get:8 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [25.8 kB] Get:9 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [1777 kB] Get:10 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB] Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1275 kB] Get:12 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [30.3 kB] Get:13 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1157 kB] Get:14 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1216 kB] Get:15 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2193 kB] Get:16 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [26.0 kB] Get:17 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [51.2 kB] Get:18 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [870 kB] Get:19 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1139 kB] Reading package lists... W: 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: NO_PUBKEY A4B469963BF863CC E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 InRelease' is not signed. The command '/bin/sh -c : && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends software-properties-common && add-apt-repository -y ppa:deadsnakes && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python3.8-venv && apt-get clean && rm -rf /var/lib/apt/lists/* && :' returned a non-zero code: 100

DSRajesh avatar May 05 '22 07:05 DSRajesh

The GPG keys for the CUDA download repositories were recently rotated which also affects container images using these keys. See https://forums.developer.nvidia.com/t/notice-cuda-linux-repository-key-rotation/212772

Which base image does your container use? If you're using a recent CUDA base image re-pulling this image for local builds should be sufficient. If not updating the GPG key as described in the notice above.

elezar avatar May 05 '22 08:05 elezar

This is also being discussed in #1631 and #1632

elezar avatar May 05 '22 08:05 elezar