Bug 1815733
Summary: | java-latest-openjdk-devel-1:14.0.0.36-1 fails to apply the new version of javac to alternatives | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lars S. Jensen <lars.s.jensen> |
Component: | java-latest-openjdk | Assignee: | Petra Alice Mikova <pmikova> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 32 | CC: | ahughes, jerboaa, jvanek, pmikova |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-05-18 08:25:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Lars S. Jensen
2020-03-21 08:16:39 UTC
The issue is also on Fedora 32. Hi, there is indeed an error in the postinstall script of the devel package. I will fix it and create another update. Thank you! Upgrading from java-latest-openjdk-devel-1:13.0.2.8-1.rolling.fc31.x86_64 to java-latest-openjdk-devel-1:14.0.0.36-2.rolling.fc31.x86_64 works:-) alternatives --config javac There are 3 programs which provide 'javac'. Selection Command ----------------------------------------------- 1 java-11-openjdk.x86_64 (/usr/lib/jvm/java-11-openjdk-11.0.6.10-0.fc31.x86_64/bin/javac) * 2 java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.fc31.x86_64/bin/javac) + 3 java-latest-openjdk.x86_64 (/usr/lib/jvm/java-14-openjdk-14.0.0.36-2.rolling.fc31.x86_64/bin/javac) And javac --version javac 14 But reinstall java-latest-openjdk-devel-1:14.0.0.36-2.rolling.fc31.x86_64 fails: Running transaction Preparing : 1/1 Reinstalling : java-latest-openjdk-devel-1:14.0.0.36-2.rolling.fc31.x86_64 1/2 Running scriptlet: java-latest-openjdk-devel-1:14.0.0.36-2.rolling.fc31.x86_64 1/2 Cleanup : java-latest-openjdk-devel-1:14.0.0.36-2.rolling.fc31.x86_64 2/2 Running scriptlet: java-latest-openjdk-devel-1:14.0.0.36-2.rolling.fc31.x86_64 2/2 Verifying : java-latest-openjdk-devel-1:14.0.0.36-2.rolling.fc31.x86_64 1/2 Verifying : java-latest-openjdk-devel-1:14.0.0.36-2.rolling.fc31.x86_64 2/2 Reinstalled: java-latest-openjdk-devel-1:14.0.0.36-2.rolling.fc31.x86_64 $ alternatives --config javac There are 2 programs which provide 'javac'. Selection Command ----------------------------------------------- 1 java-11-openjdk.x86_64 (/usr/lib/jvm/java-11-openjdk-11.0.6.10-0.fc31.x86_64/bin/javac) *+ 2 java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.fc31.x86_64/bin/javac) Workaround is to run 'dnf downgrade java-latest-openjdk-devel' and the 'dnf upgrade'. FEDORA-2020-43c6420def has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-43c6420def Hi! The reinstall is old issue: https://bugzilla.redhat.com/show_bug.cgi?id=1200302 Unluckily the fix is not worthy of its maintenance. If you run the reinstallsecond times, it should fix itself. Sorry for inconvinence. In this case the issue was in addition doubled by broken scripelt in :14.0.0.36-1, which is fixed in :14.0.0.36-2 FEDORA-2020-43c6420def has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-43c6420def` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-43c6420def See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. It also works on Fedora 32. So the bug can be closed:-) |