Hi There,
I just created Linux Compute Engine with Ubuntu 22.04 LTS.
I tried to install :
sudo apt-get install google-cloud-sdk-gke-gcloud-auth-plugin
But always failed like this:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package google-cloud-sdk-gke-gcloud-auth-plugin
Has anyone experienced something similar?
Thank you very much.
Solved! Go to Solution.
Hello @RendyH97 ,
This concern was raised in this issue tracker. You check it as a reference. As a workaround they provided to use these steps to follow to make it work.
Pre-requisites
Before the installation of the gcloud
CLI, please confirm that the following conditions are met:
The OS release has not reached the end-of-life.
The apt-transport-http
package is installed. If not, use the following command to install it:
sudo apt-get install apt-transport-https ca-certificates gnupg
Installation steps
Step 1: Add gcloud CLI distribution
Step 2: Acquire the public key
Step 3: Install gcloud
Step 4: Install additional components (optional)
Step 5: Initialize the gcloud CLI