gcloud install error on Linux: ERROR: (gcloud.components.list) Failed to fetch component listing from server

To install gcloud sdk on Linux, run

# curl https://sdk.cloud.google.com | bash

If you get the following error. Most probably IPv6 is enabled on Linux.

ERROR: (gcloud.components.update) Failed to fetch component listing from server. Check your network settings and try again.

I disabled it temporarily and installed gcloud successfully. Run the following command to disable IPv6.

# sysctl net.ipv6.conf.all.disable_ipv6=1

 

 

ismail yenigul

 

Advertisements
gcloud install error on Linux: ERROR: (gcloud.components.list) Failed to fetch component listing from server

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s