2017-03-18 54 views
1

運行百勝更新新鮮centos7如果我創建一個谷歌計算引擎實例,選擇的CentOS 7作爲圖像,SSH到實例,並運行yum update -y,我看到以下錯誤:gcloud SDK未能對GCE

Updating : google-cloud-sdk-147.0.0-1.el7.noarch               37/75 
ERROR: gcloud crashed (AttributeError): 'module' object has no attribute 'GetJobDirFlag' 

If you would like to report this issue, please run the following command: 
    gcloud feedback 

To check gcloud for common problems, please run the following command: 
    gcloud info --run-diagnostics 
Compiling platform/gsutil/third_party/httplib2/python3/httplib2/__init__.py ... 
    File "platform/gsutil/third_party/httplib2/python3/httplib2/__init__.py", line 347 
    print('%s:' % h, end=' ', file=self._fp) 
         ^
SyntaxError: invalid syntax 

warning: %post(google-cloud-sdk-147.0.0-1.el7.noarch) scriptlet failed, exit status 1 
Non-fatal POSTIN scriptlet failure in rpm package google-cloud-sdk-147.0.0-1.el7.noarch 

我已經嘗試了幾次,它是100%可重複的,我期望任何人。我應該忽略這個錯誤嗎?如果不是,我應該採取什麼措施?我通常是Fedora用戶,但谷歌雲沒有Fedora鏡像,所以我使用CentOS作爲CentOS的新手。

回答

3

我重現了這個問題,一切似乎在更新後都能正常工作,應該可以安全地忽略錯誤。