Coder Social home page Coder Social logo

Comments (8)

bobidle avatar bobidle commented on August 17, 2024 1

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.

bobidle avatar bobidle commented on August 17, 2024

@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.

muffl0n avatar muffl0n commented on August 17, 2024

Awesome! Thanks for your feedback! ❤️

from cloud-sdk-docker.

cloudsdkdocker avatar cloudsdkdocker commented on August 17, 2024

+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.

bobidle avatar bobidle commented on August 17, 2024

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.

bobidle avatar bobidle commented on August 17, 2024

@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.

bobidle avatar bobidle commented on August 17, 2024

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.

muffl0n avatar muffl0n commented on August 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.