-
Notifications
You must be signed in to change notification settings - Fork 265
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
Linux Apt Key for nvidia.github.io/libnvidia-container is Failing Due to GitHub CLI Apt Key Update #688
Comments
Hi @iPrOmar, many apologies for the inconvenience from the GitHub CLI team. I'm not sure exactly what you mean by:
It looks to me like you need to grab the new keyring from us at GitHub as per the |
Hi @williammartin I'll update the original post so it is clearer... |
Sorry but this issue was due to an |
|
Check for wget, if not installed, install it(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) Set keyring path based on existence of /usr/share/keyrings/githubcli-archive-keyring.gpgIf it is in the old location, use that, otherwise always use the new location.if [ -f /usr/share/keyrings/githubcli-archive-keyring.gpg ]; then echo "replacing keyring at ${keyring_path}" Download and set up the keyringwget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee "$keyring_path" > /dev/null Idempotently add the GitHub CLI repository as an apt sourceecho "deb [arch=$(dpkg --print-architecture) signed-by=$keyring_path] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null Update the package lists, which should now passsudo apt update |
HI @williammartin & @BarteJK99 Thanks for your suggestions & help. I've pointed out in an above comment & in a re-edit of the original issue post what the issue turned out to be. If you would like some closure, I've quoted it below too... 🤗
|
When running
$ sudo apt-get update -y
inUbuntu 20.04.6 LTS
, the following errors are seen -Upon Googling around the GitHub CLI error it appears that GitHub have covered their issue...
This did not fix the Apt errors seen above.
The following part of the original description in yellow was wrong... the issue was due to an
Apt
repository buried in thecloud-init
image for ourVMs
... It had nothing to do withnvidia
... Upon re-building theVM
with the latestcloud-init
image, the problem was resolved...However upon closer inspection, it can be seen that this is in fact
nvidia runtime container
calling onGitHub CLI
and if I try to update thenvidia github
apt key -$ curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - </mark>
Nothing is fixed... :-(
Upon further investigation doing a verbose curl of the
nvidia github
GPG Key, it can be seen that in fact theTLS Handshake
has expired...Do you think this stuff might get addressed soon as it will start to impact our ability to keep our
Linux VM Estate
up to date?Thanks x
The text was updated successfully, but these errors were encountered: