AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Java 1.8 0 openjdk redhat1/1/2024 > always switch to that, but this will do for now. When second reinstall is no longer option, then yes, I definitely agree. > breaking alternatives is worse, if a better solution comes along we can > I realize that this solution isn't pretty, but I honestly think that That is very similar to what the fix is doing in 1200302. > transaction is complete it isn't needed anymore and we should clean up our GPL + Classpath Exception licensed (free for any use, subject to that license) are current made available by Oracle through (See also Oracle's blog entry & licensing ). Remove the temporary state file in a %posttrans scriptlet. Leo Ufimtsev Table of contents: Oracle has announced that the Oracle JDK 8 builds released after Jan 2019 cease to be free for commercial use. > the old package before %post of the new (I wouldn't bet on that). > unless you are absolutely certain that updates will always run %postun of That would kill the paralel installability we have now. > Especially don't use release, because this can work for updates as well, > The following one-liner is a temporary workaround to re-add the alternatives > (In reply to Peter Ajamian from comment #1) fi` which will result in the removal only happening on an actual uninstall, and not an update or reinstall. The alternatives -removes commands in the postinstall scriptlets should be wrapped in `if then. I have verified it with the packages listed above. This bug seems to affect all the openjdk packages that install alternatives links. The link should still be there after the reinstall. Ls: cannot access '/usr/bin/java': No such file or directory 1 root root 22 Jun 25 15:41 /usr/bin/java -> ~]# dnf reinstall ~]# ls -lh /usr/bin/java dnf install java-1.8.0-openjdk-headlessģ. If you reinstall one of the following packages it causes the alternatives links to be removed from the system:ġ.
0 Comments
Read More
Leave a Reply. |