![]() But it is not finished in manner of 1260702 The only workaround I'm willing to accept is, that will be enhanced for reinstall column.Īnd even then it will be still "wrong by design" (c#26). ![]() And I quite insists that *soemthing* is wrong. Now - for tool of our future - dnf - I will need to add another hack? I'm spending quite a lot of time to remove the terrible workarounds we have in spec by tweeking alternatives, rpm plugins and yum is in queue. And keep telling another maintainers why it is here. seems to suggest "rpm -reinstall" behaving like an update is by design.Įven if it would notbe terrible by nature, then it will need to go to all javas in rhel8 - 3x oracle, 3x openjdk and 3x ibm. > ScriptletSnippets#Saving_state_between_scriptlets ![]() > conceivable that %post creates a file/symlink/whatever %postun removes them. If re-install didn't remove docs first, docs would > where package re-installations may be done with different flags. Considering bug 966715 there seem to be use cases > (In reply to jiri vanek from comment #23) (In reply to Severin Gehwolf from comment #24) It makes sense to me that rpm and dnf is consistent. bash: /usr/bin/java: No such file or directory OpenJDK 64-Bit Server VM (build 25.60-b23, mixed mode) OpenJDK Runtime Environment (build 1.8.0_60-b27) $ dnf download java-1.8.0-openjdk > /dev/null 2>&1 java -version Either way it's conceivable that %post creates a file/symlink/whatever %postun removes them.įor the record, the reproducer for this bug is either "rpm -reinstall": Something similar is conceivable for files added during post/postun. If re-install didn't remove docs first, docs would still be installed after re-install. Considering bug 966715 there seem to be use cases where package re-installations may be done with different flags. > Well, yes - expected - But have this order sense for reinstall? > and seem to answer this question, no? Since new dnf uses rpm's > it could make sense but in reinstall it's a little confusing. > Florian, is there any reason for this ^ scriplet execution order? In update > (In reply to Jan Silhan from comment #20) > (In reply to Severin Gehwolf from comment #22) (In reply to jiri vanek from comment #23) OpenJDK 64-Bit Server VM (build 25.40-b16, mixed ~]# update-alternatives -display java OpenJDK Runtime Environment (build 1.8.0_40-b12) bash: java: command not ~]# update-alternatives -display ~]# echo $? dnf-3 reinstall java-1.8.0-openjdk-headless dnf-3 install java-1.8.0-openjdk-headlessģ. Version-Release number of selected component (if applicable):ġ. It took me few hours to find a root of all evil.ĭnf reinstall broke my alternatives and therefore java was removed from alternatives. As a side effect of other problems with dnf I had to reinstall few packages.Īfter this action I was not able to use java related applications (e.g.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |