--
You received this message because you are subscribed to the Google Groups "Google Cloud Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-dev/2beefdc0-18a2-4a5f-a02a-d061d7138da2n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-dev/3caa347e-e2c3-43e5-9224-eb5a513a0df1n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-dev/e7162b62-cfd1-4515-bfe3-01dd59e10a7en%40googlegroups.com.
Hi Chris,
the AMI_ID is: ami-0de12f76efe134f2f
Description: Amazon Linux 2 AMI 2.0.20200917.0 x86_64 HVM gp2
Da: Chris Gerber <ge...@google.com>
Inviato: lunedì 9 novembre 2020 21:51
A: Stefano Giostra <sgio...@bitbang.com>
Cc: Google Cloud Developers <google-c...@googlegroups.com>
Oggetto: Re: [google-cloud-dev] install google-cloud-sdk on ec2 public key issue
Hi Chris,
I tried again with a new ec2,
AMI Name: amzn2-ami-hvm-2.0.20200917.0-x86_64-gp2
Source: amazon/amzn2-ami-hvm-2.0.20200917.0-x86_64-gp2
Status: available
Creation date: September 22, 2020 at 4:10:08 AM UTC+2
Platform details: Linux/UNIX
Architecture: x86_64
Usage operation: RunInstances
Image Type: machine
Virtualization type: hvm
Description: Amazon Linux 2 AMI 2.0.20200917.0 x86_64 HVM gp2
Root Device Name: /dev/xvda
Root Device Type: ebs
and I made only the 2 commands of the doc, but I gotten the same error. If for You this work, I can’t understand where is the error!
[ec2-user@ip-xxx-xxx-xxx-xxx ~]$ more /etc/yum.repos.d/google-cloud-sdk.repo
[google-cloud-sdk]
name=Google Cloud SDK
baseurl=https://packages.cloud.google.com/yum/repos/cloud-sdk-el7-x86_64
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg
https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
[ec2-user@ip-xxx-xxx-xxx-xxx ~]$ sudo yum install google-cloud-sdk
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
Resolving Dependencies
--> Running transaction check
---> Package google-cloud-sdk.x86_64 0:318.0.0-1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================
Installing:
google-cloud-sdk x86_64 318.0.0-1 google-cloud-sdk 72 M
Transaction Summary
=============================================================================================================================================================================
Install 1 Package
Total size: 72 M
Installed size: 360 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/2/google-cloud-sdk/packages/cf821accd858a6e10df2ca28b4b01bd83cc2517ad604b76dcfcc40d2b04d0360-google-cloud-sdk-318.0.0-1.x86_64.rpm: Header V4
RSA/SHA1 Signature, key ID 3e1ba8d5: NOKEY
Retrieving key from https://packages.cloud.google.com/yum/doc/yum-key.gpg
Importing GPG key 0xA7317B0F:
Userid : "Google Cloud Packages Automatic Signing Key <gc-...@google.com>"
Fingerprint: d0bc 747f d8ca f711 7500 d6fa 3746 c208 a731 7b0f
From : https://packages.cloud.google.com/yum/doc/yum-key.gpg
Is this ok [y/N]: y
Public key for cf821accd858a6e10df2ca28b4b01bd83cc2517ad604b76dcfcc40d2b04d0360-google-cloud-sdk-318.0.0-1.x86_64.rpm is not installed
Failing package is: google-cloud-sdk-318.0.0-1.x86_64
GPG Keys are configured as: https://packages.cloud.google.com/yum/doc/yum-key.gpg
Da: Chris Gerber <ge...@google.com>
Inviato: giovedì 12 novembre 2020 03:13