-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Unable to Install kubectl due to GPG Key Issue #41334
Comments
This seems to work:
The A different solution would be to use |
@guettli This issue is referring the same problem as in kubernetes/release#2862. I think this will be helpful. |
/language en |
Page related to issue: https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/ |
/retitle Unable to Install kubectl due to GPG Key Issue |
We have made recent revisions to the documentation regarding the Google signing key for the |
/triage accepted |
Please change:
2. Download the Google Cloud public signing key:
```shell
- sudo curl -fsSLo /etc/apt/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg
+ curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/kubernetes-archive-keyring.gpg
``` /help |
@sftim: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@guettli, would you be willing to edit the initial description for this issue, to make it easy to find:
|
@sftim I created a PR to update the docs. |
I'd prefer a PR where the commit messages don't mention this issue. It's OK to mention the issue in the GitHub description of the change, but please don't mention the issue in commit messages. If anyone would like to open a PR, similar to #41339, that doesn't mention this issue in the commit message, then we can accept and merge that PR. Also @guettli you are welcome you amend #41339 to make it acceptable. |
I have raised PR #41366 to assist in resolving this issue. |
If you followed the guideline and you still get a |
kubectl install instructions for Ubuntu are broken
https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#install-using-native-package-management
It is easy to reproduce:
The text was updated successfully, but these errors were encountered: