无法在 Ubuntu 18.04.TLS 上安装谷歌云

无法在 Ubuntu 18.04.TLS 上安装谷歌云

大家好!

我尝试在 Ubuntu 18.04 上安装 Google Cloud,但什么也没发生。这是我(最后)做的事情:

aleks@ThinkPad-T530:~$ sudo apt-get install google-cloud-sdk
[sudo] password for aleks: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  python-crcmod
Suggested packages:
  google-cloud-sdk-app-engine-java google-cloud-sdk-app-engine-python
  google-cloud-sdk-pubsub-emulator google-cloud-sdk-bigtable-emulator
  google-cloud-sdk-datastore-emulator kubectl
The following NEW packages will be installed:
  google-cloud-sdk python-crcmod
0 upgraded, 2 newly installed, 0 to remove and 173 not upgraded.
Need to get 24,4 MB of archives.
After this operation, 188 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://at.archive.ubuntu.com/ubuntu bionic/universe amd64 python-crcmod amd64 1.7-2build4 [17,5 kB]
Get:2 http://packages.cloud.google.com/apt cloud-sdk/main amd64 google-cloud-sdk all 267.0.0-0 [24,4 MB]
Fetched 24,4 MB in 18s (1.390 kB/s)                                            
Selecting previously unselected package python-crcmod.
(Reading database ... 145750 files and directories currently installed.)
Preparing to unpack .../python-crcmod_1.7-2build4_amd64.deb ...
Unpacking python-crcmod (1.7-2build4) ...
Selecting previously unselected package google-cloud-sdk.
Preparing to unpack .../google-cloud-sdk_267.0.0-0_all.deb ...
Unpacking google-cloud-sdk (267.0.0-0) ...
Setting up python-crcmod (1.7-2build4) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up google-cloud-sdk (267.0.0-0) ...

aleks@ThinkPad-T530:~$ find / -xdev 2>/dev/null -name "google-clooud-sdk*" 

aleks@ThinkPad-T530:~$ gclound init

Command 'gclound' not found, did you mean:

  command 'gcloud' from snap google-cloud-sdk (266.0.0)

See 'snap info <snapname>' for additional versions.

答案1

重新阅读你的命令,你会发现有一些拼写错误:

find / -xdev 2>/dev/null -name "google-clooud-sdk*"<-- 您在这里输入了‘云’。

gclound init<-- 您输入的gclound不是gcloud

我猜最后一个是严重错误 - 你输入不gcloud正确。请将其重写并重gcloud试,确保拼写正确。

相关内容