when running sudo apt-get update the signatures from nvidia docker are invalid
I am using nvidia-docker and when I try to update I get issues with the signatures.
Full error is:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64 InRelease: The following signatures were invalid: EXPKEYSIG C45B1676A04EA552 NVIDIA CORPORATION (Open Source Projects) <[email protected]>
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/amd64 InRelease: The following signatures were invalid: EXPKEYSIG C45B1676A04EA552 NVIDIA CORPORATION (Open Source Projects) <[email protected]>
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64 InRelease: The following signatures were invalid: EXPKEYSIG C45B1676A04EA552 NVIDIA CORPORATION (Open Source Projects) <[email protected]>
W: Failed to fetch https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64/InRelease The following signatures were invalid: EXPKEYSIG C45B1676A04EA552 NVIDIA CORPORATION (Open Source Projects) <[email protected]>
W: Failed to fetch https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/amd64/InRelease The following signatures were invalid: EXPKEYSIG C45B1676A04EA552 NVIDIA CORPORATION (Open Source Projects) <[email protected]>
W: Failed to fetch https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64/InRelease The following signatures were invalid: EXPKEYSIG C45B1676A04EA552 NVIDIA CORPORATION (Open Source Projects) <[email protected]>
W: Some index files failed to download. They have been ignored, or old ones used instead.
how can this be resolved?
Thanks
https://github.com/NVIDIA/nvidia-docker/wiki/Frequently-Asked-Questions#im-getting-the-following-signatures-were-invalid-expkeysig-while-trying-to-install-the-packages-what-do-i-do
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
I still get the same message after apt-key add of that gpgkey.
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key --keyring /etc/apt/trusted.gpg.d/nvidia-docker.gpg add -
OK
apt update
The following signatures were invalid: EXPKEYSIG C45B1676A04EA552 NVIDIA CORPORATION (Open Source Projects) <[email protected]>
Most helpful comment
https://github.com/NVIDIA/nvidia-docker/wiki/Frequently-Asked-Questions#im-getting-the-following-signatures-were-invalid-expkeysig-while-trying-to-install-the-packages-what-do-i-do
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -