Hello. We have a Dockerfile based on Debian v12 ("bookworm"), which sets up a Python application, which uses various Python client libraries to interact with GCP.
Until today, the Dockerfile was doing:
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg \
&& echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list \
&& apt-get update -y \
&& apt-get install google-cloud-sdk -y
google-cloud-cli : Breaks: google-cloud-sdk but 463.0.0-0 is to be installed
apt-get install google-cloud-sdk=462.0.1
Package google-cloud-sdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
google-cloud-cli
Hi @thebuckst0p,
Welcome to Google Cloud Community!
You are correct in your understanding of the situation. The google-cloud-sdk package has indeed been deprecated and replaced with google-cloud-cli. While the transition documentation might not be explicitly stated in one place, here's what's happening and how to handle it:
Resources: