Installing Java Temurin 21 with openHABian - blocked

Update to OH5.01 and presupposing to Java 21. But the install script java-jre.bash get blocked and the user wait and wait ….

reason: dpkg --configure -a’ needed input from the user and waiting for an input in the background

workaround:

-killing the process ‘dpkg --configure -a’

-start manualy ‘dpkg --configure -a’ with a interactive input

-restarting the java install

Without explaining your starting point and your inputs that report is not of much use.

If you had properly flashed from start, or used option 03, I believe this would not have happened because the java install routine doesn’t add the package where it got hung.

Starting point was a running system 4.3.6 and option 02 for update the system

It’s an OS pkg thing. “Running 4.3.6” doesn’t explain the OS history.
And if you only had used 02 you would not have been in java install like you were.
Sorry but again that type of problem report without fully explaining the steps you did to end up there is not helpful.

  1. option 02 → return with error due to missing java 21
  2. option 40 → 45 → Temurin 21 → deadlock

02 only does an apt upgrade so if you had used an up to date openhabian it would not have returned on missing java.

As said it depends on the starting point and yours is totally unclear.

Next time please provide a log (debug=maximum in openhabian.conf) and explain how to reproduce the issue. Whenever the OS state is unclear, we cannot help you.
So part of a proper issue description is to properly describe the starting point (like: a fresh openHABian v1.xx).

thx, I am not looking for help. It was more a sharing for people run in the same deadlock while upgrading