You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, when I simply want to launch the Cloud Run proxy, here is the message :
$ gcloud run services proxy myservice --project myproject --region europe-west1
Pausing command execution:
This command requires the `cloud-run-proxy` component to be installed. Would you like to install the `cloud-run-proxy` component to continue command execution? (Y/n)?
ERROR: (gcloud.run.services.proxy)
You cannot perform this action because the Google Cloud CLI component manager
is disabled for this installation. You can run the following command
to achieve the same result for this installation:
sudo apt-get install google-cloud-sdk-cloud-run-proxy
So, I've successfully updated/upgraded my distro with sudo apt update and sudo apt upgrade.
And then, when I want to install it, I encounter this error :
$ sudo apt install google-cloud-sdk-cloud-run-proxy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
google-cloud-sdk
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
The following NEW packages will be installed:
google-cloud-sdk google-cloud-sdk-cloud-run-proxy
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/166 MB of archives.
After this operation, 826 MB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 66561 files and directories currently installed.)
Preparing to unpack .../google-cloud-sdk_455.0.0-0_all.deb ...
Progress: [ 0%] [........................................................................................................................................................................................................................]
Unpacking google-cloud-sdk (455.0.0-0) ...................................................................................................................................................................................................]
dpkg: error processing archive /var/cache/apt/archives/google-cloud-sdk_455.0.0-0_all.deb (--unpack):
trying to overwrite '/usr/share/google-cloud-sdk/README', which is also in package google-cloud-cli 455.0.0-0
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package google-cloud-sdk-cloud-run-proxy.
Preparing to unpack .../google-cloud-sdk-cloud-run-proxy_455.0.0-0_amd64.deb ...
Unpacking google-cloud-sdk-cloud-run-proxy (455.0.0-0) ...#######.........................................................................................................................................................................]
Errors were encountered while processing:################################################.................................................................................................................................................]
/var/cache/apt/archives/google-cloud-sdk_455.0.0-0_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
The text was updated successfully, but these errors were encountered:
Have you already tried to install google-cloud-cli-cloud-run-proxy which has a similar name to google-cloud-sdk-cloud-run-proxy? (listed in the 4th step of the installation process in this document)
I encountered the same problem a few days ago. Though I don't know why the installation fails, I noticed this similar name when I was checking how to install additional modules.
Following the GCP documentation, I can't successfully install the
google-cloud-sdk-cloud-run-proxy
package.Here is my environment :
First of all, when I simply want to launch the Cloud Run proxy, here is the message :
So, I've successfully updated/upgraded my distro with
sudo apt update
andsudo apt upgrade
.And then, when I want to install it, I encounter this error :
The text was updated successfully, but these errors were encountered: