Bug 1859090
| Summary: | alternatives of javaws.x86_64 is not properly reset | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Robin Lee <robinlee.sysu> |
| Component: | icedtea-web | Assignee: | jiri vanek <jvanek> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 32 | CC: | dbhole, jvanek, moschleg, omajid |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | icedtea-web-2.0.0-pre.0.3.alpha13.patched1.fc32.3 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-07-30 18:55:22 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: | |||
Crap. I would swear I had verified that. Will elaborate. I guess it is not reprodcuible in fresh install? Hmm. I have not reprodcued it. During update, i correctly lost javaws.itweb and gained javaws. Ok. found it. It looks like the alternatives were wrongly cleared for years. There is removal of javaws instead of javaws/arch And another issue is nexpanded %{preffered_java} macro. Thanx for the report!
and last is the new target path not updating correctly... Update shoudl be in updates soon. FEDORA-2020-809419f597 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-809419f597 FEDORA-2020-809419f597 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-809419f597` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-809419f597 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-809419f597 has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. %{preffered_java} macro
It would be nice to spell that correctly. Maybe the macro is correctly spelled "preferred" in the macro but the scriptlet is using "preffered"
|
Description of problem: After update from icedtea-web-1.8.2-3.fc31.x86_64 to icedtea-web-2.0.0-pre.0.3.alpha13.patched1.fc32.x86_64, /usr/bin/javaws became a broken link which finally pointing to /usr/bin/javaws.itweb, which is removed in the new package. $ sudo alternatives --display javaws.x86_64 javaws.x86_64 - status is auto. link currently points to /usr/bin/javaws.itweb /usr/bin/javaws.itweb - family java-1.8.0-openjdk.x86_64 priority 18000 slave ControlPanel: /usr/bin/itweb-settings.itweb slave itweb-settings: /usr/bin/itweb-settings.itweb slave policyeditor: /usr/bin/policyeditor.itweb slave ControlPanel.1.gz: /usr/share/man/man1/itweb-settings.1.gz slave javaws.1.gz: /usr/share/man/man1/javaws.itweb.1.gz /usr/libexec/icedtea-web/javaws - family %{preffered_java}.x86_64 priority 18000 slave ControlPanel: /usr/libexec/icedtea-web/itweb-settings slave itweb-settings: /usr/libexec/icedtea-web/itweb-settings slave policyeditor: /usr/libexec/icedtea-web/policyeditor slave ControlPanel.1.gz: /usr/share/man/man1/itweb-settings.1.gz slave javaws.1.gz: /usr/share/man/man1/javaws.itweb.1.gz Current `best' version is /usr/bin/javaws.itweb. Version-Release number of selected component (if applicable): icedtea-web-2.0.0-pre.0.3.alpha13.patched1.fc32.x86_64 How reproducible: (Not retried) Steps to Reproduce: 1. install icedtea-web-1.8.2-3.fc31.x86_64 2. update to icedtea-web-2.0.0-pre.0.3.alpha13.patched1.fc32.x86_64 3. Actual results: /usr/bin/javaws is broken. Expected results: /usr/bin/javaws finally points to /usr/libexec/icedtea-web/javaws Additional info: