-
-
Notifications
You must be signed in to change notification settings - Fork 254
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
java update misbehavior ? #1013
Comments
I know what caused it, minor oversight in my rewrite part 1 I'll upload a fix shortly. |
Fixes openhab#1013 Signed-off-by: Ethan Dye <[email protected]>
Fixes #1013 Signed-off-by: Ethan Dye <[email protected]>
Selected upgrade via menu => $ apt-get --yes upgrade $ java_install_or_update Zulu11-32 $ java_zulu_update_available Zulu11-32 |
@mstormi What is wrong? That looks completely right. |
I believe I had been running that version before (it's from April so I'm pretty sure I did) so why was it upgraded ? |
If you run it again, does it try and update again? |
Fixes openhab#1013 Signed-off-by: Ethan Dye <[email protected]>
yes. will merge and try your patch now. |
Fixes #1013 Signed-off-by: Ethan Dye <[email protected]>
trouble is, it already seems to have deleted the java binary and/or link (not sure when) so it installs anyway |
Thats not right at all, it doesn't do that until after it has determined a update is avaiable? Did you try reinstalling using menu 40 and then upadting after? |
Figured it out, its because of the arch checking is failing, I'm looking into it now. |
No. I've run 02 - Upgrade and it installed the current Zulu hence the java binary is back. Then I ran 02 again and once again, it started downloading. Here's the log of the 2nd time:
|
Fixes openhab#1013 Signed-off-by: Ethan Dye <[email protected]>
Fixes openhab#1013 Signed-off-by: Ethan Dye <[email protected]>
@mstormi Try with the latest patch it should work. |
no that was with the latest patch already |
Fixes #1013 Signed-off-by: Ethan Dye <[email protected]>
yep, that now worked |
I told openhabian to switch to Adopt.
Vorbereitung zum Entpacken von .../adoptopenjdk-11-hotspot-jre_11.0.7+10-2_armhf.deb ...
Entpacken von adoptopenjdk-11-hotspot-jre (11.0.7+10-2) ...
adoptopenjdk-11-hotspot-jre (11.0.7+10-2) wird eingerichtet ...
update-alternatives: /usr/lib/jvm/adoptopenjdk-11-hotspot-jre-armhf/bin/java wird verwendet, um /usr/bin/java (java) im automatischen Modus bereitzustellen
update-alternatives: /usr/lib/jvm/adoptopenjdk-11-hotspot-jre-armhf/bin/jjs wird verwendet, um /usr/bin/jjs (jjs) im automatischen Modus bereitzustellen
update-alternatives: /usr/lib/jvm/adoptopenjdk-11-hotspot-jre-armhf/bin/keytool wird verwendet, um /usr/bin/keytool (keytool) im automatischen Modus bereitzustellen
update-alternatives: /usr/lib/jvm/adoptopenjdk-11-hotspot-jre-armhf/bin/pack200 wird verwendet, um /usr/bin/pack200 (pack200) im automatischen Modus bereitzustellen
update-alternatives: /usr/lib/jvm/adoptopenjdk-11-hotspot-jre-armhf/bin/rmid wird verwendet, um /usr/bin/rmid (rmid) im automatischen Modus bereitzustellen
update-alternatives: /usr/lib/jvm/adoptopenjdk-11-hotspot-jre-armhf/bin/rmiregistry wird verwendet, um /usr/bin/rmiregistry (rmiregistry) im automatischen Modus bereitzustellen
update-alternatives: /usr/lib/jvm/adoptopenjdk-11-hotspot-jre-armhf/bin/unpack200 wird verwendet, um /usr/bin/unpack200 (unpack200) im automatischen Modus bereitzustellen
update-alternatives: /usr/lib/jvm/adoptopenjdk-11-hotspot-jre-armhf/lib/jexec wird verwendet, um /usr/bin/jexec (jexec) im automatischen Modus bereitzustellen
OK
$ systemctl start openhab2.service
Job for openhab2.service canceled.
$ java_zulu_update_available Zulu8-32
2020-07-03_16:54:32_CEST [openHABian] Installing Java Zulu prerequisites (libc, libstdc++, zlib1g)... OK
2020-07-03_16:54:32_CEST [openHABian] Downloading Java Zulu 8 32-Bit OpenJDK...
$ wget -qO /opt/jdk/zulu.tar.gz https://cdn.azul.com/zulu-embedded/bin/zulu8.46.0.225-ca-jdk8.0.252-linux_aarch32hf.tar.gz
The text was updated successfully, but these errors were encountered: