From 31cde47bf019ae2a7a01bfcdf4b08e4f08d1329d Mon Sep 17 00:00:00 2001 From: Akanksha kumari Date: Sat, 16 Jul 2022 19:24:06 +0530 Subject: [PATCH] Omit `apt-transport-https` from install Remove dummy package `apt-transport-https` from linux kubectl install instructions --- .../en/docs/tasks/tools/install-kubectl-linux.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/content/en/docs/tasks/tools/install-kubectl-linux.md b/content/en/docs/tasks/tools/install-kubectl-linux.md index d027ab647d..77af85d887 100644 --- a/content/en/docs/tasks/tools/install-kubectl-linux.md +++ b/content/en/docs/tasks/tools/install-kubectl-linux.md @@ -110,9 +110,19 @@ For example, to download version {{< param "fullversion" >}} on Linux, type: ```shell sudo apt-get update - sudo apt-get install -y apt-transport-https ca-certificates curl + sudo apt-get install -y ca-certificates curl ``` - + + {{< note >}} + + If you use Debian 9 (stretch) or earlier you would also need to install `apt-transport-https`: + + ```shell + sudo apt-get install -y apt-transport-https + ``` + + {{< /note >}} + 2. Download the Google Cloud public signing key: ```shell