Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openjdk21 package does not install because of dependencies #1981

Open
mstormi opened this issue Feb 24, 2025 · 2 comments
Open

openjdk21 package does not install because of dependencies #1981

mstormi opened this issue Feb 24, 2025 · 2 comments
Assignees

Comments

@mstormi
Copy link
Contributor

mstormi commented Feb 24, 2025

+ apt-get install --yes -o DPkg::Lock::Timeout= -t unstable openjdk-21-jre-headless
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 apt : Hängt ab von: raspbian-archive-keyring soll aber nicht installiert werden
       Hängt ab von: libgnutls30 (>= 3.7.5) soll aber nicht installiert werden
E: Fehler: Unterbrechungen durch pkgProblemResolver::Resolve hervorgerufen; dies könnte durch zurückgehaltene Pakete verursacht worden sein.
+ return 100
+ echo FAILED
FAILED
@mstormi mstormi changed the title openjdk21 package does not install openjdk21 package does not install because of dependencies Feb 24, 2025
@ecdye
Copy link
Member

ecdye commented Feb 24, 2025

This is what I was afraid of @mstormi although at the time of the original PR it was installing fine, I worried that installing openjdk 21 from unstable would lead to dependency issues. This is why I advocated for Temurin because it was not dependent on unstable packages.

I can try and see if there is any easy fix for this but I'm not sure that there will be.

Let me know your thoughts.

@mstormi
Copy link
Contributor Author

mstormi commented Feb 25, 2025

I think we must not make openJDK21 the default before it's transitioned to stable repo by Debian maintainers.
By then however I think it's going to become and remain the recommendation simply because it's what most people will use in the long run.
So we should not be actively promoting (recommending) anything else like Temurin as that would mean we have to change our recommendation and communicate it broadly, with a remaining risk that we need to change recommendation forth and back a few times before things settle. Which always leaves a feeling that we don't know well enough what we're up to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants