Comments (8)
The upgrade is possible but some default package (e.g. of the latest image) have to be removed. e.g.:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
google-cloud-cli-app-engine-java : Depends: openjdk-8-jdk but it is not installable or
openjdk-11-jdk but it is not installable
google-cloud-cli-app-engine-python : Depends: python2.7 but it is not installable
google-cloud-cli-datastore-emulator : Depends: openjdk-8-jdk but it is not installable or
openjdk-11-jdk but it is not installable
google-cloud-cli-firestore-emulator : Depends: openjdk-8-jdk but it is not installable or
openjdk-11-jdk but it is not installable
google-cloud-cli-pubsub-emulator : Depends: openjdk-8-jdk but it is not installable or
openjdk-11-jdk but it is not installable
Unable to correct problems, you have held broken packages.
I am not sure if these breaking changes should be applied to the docker images atm.
e.g. App Engine drops support for Python 2.7 on 2024-01-30
https://cloud.google.com/appengine/docs/standard/lifecycle/support-schedule#python
If the packages should be included in the future, we have to wait for better Python 3 and Java 17 support of the CLI/SDK Debian/Ubuntu packages.
from cloud-sdk-docker.
@muffl0n last time i tried the upgrade of the Google Cloud SDK Images to Debian Bookworm, some SDK packages could not be used. Some of them are use in the provided images. Because of missing deps like Java v8 and Python v2.7 in Debian Bookworm.
I will try the upgrade next week again and if some packages are not installable i will contact the Google support about it.
from cloud-sdk-docker.
Awesome! Thanks for your feedback! ❤️
from cloud-sdk-docker.
+1 on these packages still blocking update. The inclusion of these non-default components is preventing us from ensuring this image is up to date and minimizing its CVE surface area. We have been exploring what our strategy with these images will be going forward given these persistent issues. I will likely open a discussion with some proposals to gauge feedback from users very soon to help inform our next steps!
from cloud-sdk-docker.
The package google-cloud-cli-app-engine-java
in v456.0.0 has updated dependencies. 👍
$ apt info google-cloud-cli-app-engine-java
Package: google-cloud-cli-app-engine-java
Version: 456.0.0-0
Priority: optional
Section: misc
Maintainer: Google Cloud CLI Authors <https://code.google.com/p/google-cloud-sdk/>
Installed-Size: 147 MB
Depends: google-cloud-cli-app-engine-python, openjdk-8-jdk | openjdk-11-jdk | openjdk-17-jdk | openjdk-21-jdk
Homepage: https://cloud.google.com/sdk/
Download-Size: 126 MB
APT-Sources: https://packages.cloud.google.com/apt cloud-sdk-bullseye/main amd64 Packages
Description: Java runtime for Google App Engine
from cloud-sdk-docker.
@muffl0n the slim
image is already updated to Debian Bookworm (0891370), could you try to use and check the image if everything is working as expected?
from cloud-sdk-docker.
Also the emulator packages seem to support newer openjdk packages since v457.0.0-0
Package: google-cloud-cli-datastore-emulator
Version: 457.0.0-0
Priority: optional
Section: misc
Maintainer: Google Cloud CLI Authors <https://code.google.com/p/google-cloud-sdk/>
Installed-Size: 41.1 MB
Depends: google-cloud-cli, openjdk-8-jdk | openjdk-11-jdk | openjdk-17-jdk | openjdk-21-jdk
Homepage: https://cloud.google.com/sdk/
Download-Size: 37.6 MB
APT-Sources: https://packages.cloud.google.com/apt cloud-sdk-bookworm/main amd64 Packages
Description: Emulator for Google Cloud Datastore.
Package: google-cloud-cli-firestore-emulator
Version: 457.0.0-0
Priority: optional
Section: misc
Maintainer: Google Cloud CLI Authors <https://code.google.com/p/google-cloud-sdk/>
Installed-Size: 48.7 MB
Depends: google-cloud-cli, openjdk-8-jdk | openjdk-11-jdk | openjdk-17-jdk | openjdk-21-jdk
Homepage: https://cloud.google.com/sdk/
Download-Size: 44.5 MB
APT-Sources: https://packages.cloud.google.com/apt cloud-sdk-bookworm/main amd64 Packages
Description: Emulator for Google Cloud Firestore.
Package: google-cloud-cli-pubsub-emulator
Version: 457.0.0-0
Priority: optional
Section: misc
Maintainer: Google Cloud CLI Authors <https://code.google.com/p/google-cloud-sdk/>
Installed-Size: 69.9 MB
Depends: google-cloud-cli, openjdk-8-jdk | openjdk-11-jdk | openjdk-17-jdk | openjdk-21-jdk
Homepage: https://cloud.google.com/sdk/
Download-Size: 62.9 MB
APT-Sources: https://packages.cloud.google.com/apt cloud-sdk-bookworm/main amd64 Packages
Description: Emulator for Google Cloud Pubsub.
from cloud-sdk-docker.
Hey @bobidle thanks for your work! Unfortunately I can't test this as we moved to using alpine based images. Sorry. :|
from cloud-sdk-docker.
Related Issues (20)
- Buildx missing HOT 6
- `gke-gcloud-auth-plugin` does not honor `CLOUDSDK_CONFIG` env var HOT 1
- Image tag 433 breaks docker authentication HOT 5
- Entrypoint doesn't work in Dockerfile from version 430.0.0 HOT 2
- Update Alpine image to 3.18 HOT 1
- Pubsub shutdown time
- The Debian packages using the wrong architecture, etc in the official container HOT 1
- Alpine image missing libresolv.so.2 for kubectl HOT 1
- Curl upgrade to include fail-with-body option HOT 3
- Installing config-connector component HOT 2
- kubectl binary contains CVE-2023-39323 security vulnerability HOT 3
- When updating cloud run jobs image, job task-timeout is reset to default value. HOT 1
- Are you planning to host the image on pkg.dev? HOT 2
- google or gcr.io/google.com HOT 2
- APT repository changed Origin to cloud-sdk-bullseye HOT 2
- gcloud-sdk-bookworm InRelease' changed its 'Label' value from 'cloud-sdk-bullseye' to 'cloud-sdk-bookworm' HOT 7
- latest gcloud-sdk:emulators (468) broken (time-out) for create topic pubsub API HOT 2
- introduce python3 3.11 with the image and make it default
- Attempting to re-establish stream for both 470 and 471
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud-sdk-docker.