From fb609943b8a9ef043f4a7241babc5d2d0e17931f Mon Sep 17 00:00:00 2001 From: TeamDman Date: Tue, 1 Aug 2023 12:07:03 -0400 Subject: [PATCH] Add command for creating missing keyring dir --- content/en/docs/tasks/tools/install-kubectl-linux.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/en/docs/tasks/tools/install-kubectl-linux.md b/content/en/docs/tasks/tools/install-kubectl-linux.md index 1b7e38d352..58db9eb4a5 100644 --- a/content/en/docs/tasks/tools/install-kubectl-linux.md +++ b/content/en/docs/tasks/tools/install-kubectl-linux.md @@ -176,6 +176,11 @@ The following methods exist for installing kubectl on Linux: {{< note >}} In releases older than Debian 12 and Ubuntu 22.04, `/etc/apt/keyrings` does not exist by default. You can create this directory if you need to, making it world-readable but writeable only by admins. + +```shell +sudo mkdir -m 755 /etc/apt/keyrings +``` + {{< /note >}} {{% /tab %}}