gcloud component update fails

后端 未结 5 2051
醉酒成梦
醉酒成梦 2021-02-19 15:55

I\'ve deployed to VM\'s running Debian on GCE and have cron scripts that use gcloud commands.

I noticed that gcloud components update retuns this error

5条回答
  •  孤独总比滥情好
    2021-02-19 16:14

    UPDATED

    Now you can use sudo apt-get install google-cloud-sdk command to install or update Google Cloud SDK.

    You may need to add Cloud SDK repository in your Linux machine. This is the instructions.


    Note: The following workaround should not be used anymore.

    The component manager is enabled on latest images and gcloud components update command should be working now.

    In case you're still experiencing this issue, use the following command to enable updater:

    sudo sed -i -e 's/true/false/' /usr/lib/google-cloud-sdk/lib/googlecloudsdk/core/config.json
    

提交回复
热议问题