MiDaS icon indicating copy to clipboard operation
MiDaS copied to clipboard

PUBKEY error building the docker image

Open wangbohan6aa opened this issue 2 years ago • 2 comments

Hi,when building the Docker image with :docker build -t midas . the following error occured: 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 #6 3.925 E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease' is not signed.

try fix with: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A4B469963BF863CC but failed.

Do you have any idea? 2022-10-18 (2)

wangbohan6aa avatar Oct 18 '22 17:10 wangbohan6aa

https://github.com/open-mmlab/OpenPCDet/issues/955

This worked for me. (This is temporal workaround, though.) Problem was solved by adding follwoing line to Dockerfile

RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub

spinachpasta avatar Dec 18 '22 13:12 spinachpasta

you should make a PR with this, i'm also having the same issue, and this solved my problem

jere357 avatar Feb 02 '23 22:02 jere357