Bxl*_*fty 12 google google-compute-engine google-cloud-platform
我有几个 Google Clouds 计算实例(美国、德国、澳大利亚)
在做的时候
apt-get update
Run Code Online (Sandbox Code Playgroud)
今天我得到:
> Get:10 http://packages.cloud.google.com/apt
> google-cloud-packages-archive-keyring-stretch InRelease [3,876 B]
> Err:6 http://packages.cloud.google.com/apt cloud-sdk-stretch InRelease
> The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6A030B21BA07F4FB
> Err:7 http://packages.cloud.google.com/apt google-compute-engine-stretch-stable InRelease
> The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6A030B21BA07F4FB
> Err:10 http://packages.cloud.google.com/apt google-cloud-packages-archive-keyring-stretch InRelease
> The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6A030B21BA07F4FB
Run Code Online (Sandbox Code Playgroud)
在所有这些。有什么我需要做的吗,或者这是 Google 软件包的损坏?
谢谢
伊夫
小智 25
如果您按照此处的指南进行操作:https : //cloud.google.com/sdk/docs/install#deb并使用该signed-by
选项,那么您需要为 apt-key 提供该--keyring
选项:
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
Run Code Online (Sandbox Code Playgroud)
Bxl*_*fty 15
在这里发现问题:https : //cloud.google.com/compute/docs/troubleshooting/known-issues#keyexpired
所以你只需要在 apt-get update 之前运行它:
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
6470 次 |
最近记录: |