qcr / benchbot

BenchBot is a tool for seamlessly testing & evaluating semantic scene understanding tools in both realistic 3D simulation & on real robots
BSD 3-Clause "New" or "Revised" License
110 stars 12 forks source link

Cuda signing key change prevents core dockerfile from building #59

Closed nathanhhughes closed 2 years ago

nathanhhughes commented 2 years ago

Hi, when running the benchbot install script, I get an error related to the cuda software signing key that is added here, as it appears Nvidia has changed how they distribute their signing key (see here for info).

FWIW all my host system checks pass in the install script. The relevant output is below:

#0 5.358 Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
#0 5.358 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
#0 5.358 Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
#0 5.358 Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
#0 5.358 Get:5 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease [1575 B]
#0 5.498 Hit:6 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
#0 5.639 Err:5 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease
#0 5.639   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
#0 5.692 Reading package lists...
#0 6.371 W: GPG error: http://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 6.371 E: The repository 'http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64  InRelease' is not signed.
------
error: failed to solve: executor failed running [/bin/bash -c add-apt-repository ppa:graphics-drivers &&     wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin &&     mv -v cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600 &&     apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub &&     add-apt-repository -n "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /" &&     apt update]: exit code: 100

ERROR: Building BenchBot "core" returned a non-zero error code: 1

Ensure that Docker has been installed correctly AND that you can run Docker 
WITHOUT root access (there is no need to ever run Docker with root). See 
https://docs.docker.com/install/linux/linux-postinstall/ for details on how to 
fix this. 

If the error is more generic, please contact us so that we can update our
pre-install host system checks.
btalb commented 2 years ago

That's a good pick-up, thanks @nathanhhughes . NVIDIA's change to key signing will definitely break new installs.

I'll release an update to fix that sometime today.