Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apt-get dependencies in colab broken by NVIDIA signing key updates #2779

Closed
samquinan opened this issue Apr 28, 2022 · 4 comments
Closed

Apt-get dependencies in colab broken by NVIDIA signing key updates #2779

samquinan opened this issue Apr 28, 2022 · 4 comments
Assignees
Labels

Comments

@samquinan
Copy link

samquinan commented Apr 28, 2022

Describe the current behavior
Dependency installs with calls to apt-get update are broken (e.g., see step 0 of the HelloMagenta tutorial). That call now results in the following errors:

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 no longer signed.

This appears to be a more general issue tied to NVIDIA updating and rotating the signing keys used by apt-get (see developer blog announcement and directions for updating the keys).

Similar errors can be seen reported in NVIDIA repo with the solution from the developer blog provided as the response.

Describe the expected behavior
The expected behavior is for apt-get update to not throw signing errors.

What web browser you are using
Chrome

Additional context
This link should be a minimal, public, self-contained notebook that reproduces the issue, saved as a Github Gist.

@samquinan samquinan added the bug label Apr 28, 2022
@craigcitro
Copy link
Contributor

Thanks for the (excellent) report -- this is indeed going to be nasty friction. I'm working on a fix, which can hopefully roll out tomorrow.

@craigcitro craigcitro self-assigned this Apr 28, 2022
@craigcitro
Copy link
Contributor

For anyone hitting this issue, an immediate workaround -- run this code in a cell by itself:

!wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-keyring_1.0-1_all.deb && dpkg -i cuda-keyring_1.0-1_all.deb && rm -f cuda-keyring_1.0-1_all.deb && rm -f /etc/apt/sources.list.d/cuda.list

@craigcitro craigcitro pinned this issue Apr 29, 2022
@craigcitro
Copy link
Contributor

internal tracking: b/230797939

@craigcitro
Copy link
Contributor

Fix is live!

@craigcitro craigcitro unpinned this issue Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants