georghess / voxel-mae

Code for the paper "Masked Autoencoders for Self-Supervised Learning on Automotive Point Clouds"
Apache License 2.0
73 stars 6 forks source link

There is an error with the GPG key and the Cuda home cannot be found #3

Closed marziehphi closed 1 year ago

marziehphi commented 1 year ago

A GPG key error occurred when I tried to install things using Dockerfile.

#0 3.621 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
#0 3.621 E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease' is not signed.
------
failed to solve: executor failed running [/bin/sh -c apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6     && apt-get clean     && rm -rf /var/lib/apt/lists/*]: exit code: 100
georghess commented 1 year ago

Thanks for fixing this and opening a PR :)

Varatharajan-Raja commented 1 year ago

Exactly the same error was thrown again with the updated docker file. But I resolved it from Sanjaas Comment


RUN rm /etc/apt/sources.list.d/cuda.list
RUN rm /etc/apt/sources.list.d/nvidia-ml.list
RUN apt-key del 7fa2af80
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
georghess commented 1 year ago

Sorry, I assumed NVIDIA/nvidia-docker#4 would have fixed this. Is that not the case?

Varatharajan-Raja commented 1 year ago

I'm not sure if this is user specific. But, Yes it did throw the same GPG Key error. So I had to remove the source files 1st and fetch the keys again. Maybe this helps someone.


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.
georghess commented 1 year ago

Okay, thanks for pointing this out. I've updated the Dockerfile in commit ef6040e.