OK, the OM Lx 4.1 release is upon us and the repositories have been created and are ready for users. This requires a “dnf disto-sync” not a “dnf upgrade”. Also there are a few additional dependency complications that require this to be a one time from command line procedure as follows:
$ sudo dnf remove java-12-openjdk && sudo dnf --refresh --best --allowerasing distro-sync
When prompted to remove ‘java-12-openjdk’ and any dependent packages type y and hit enter. Note or copy and paste the dependent packages in case you want to reinstall them later. libreoffice help packages are usually listed, there may be others.
Removing: java-12-openjdk x86_64 12.0.1.ga-2 @rock-x86_64 834 M Removing dependent packages: libreoffice-help-en_GB x86_64 6.2.4-2 @rock-x86_64 25 M libreoffice-help-en_US x86_64 6.2.4-2 @rock-x86_64 25 M Transaction Summary ============================================================================================================================================================================================= Remove 3 Packages Freed space: 885 M Is this ok [y/N]: y
Then when it prompts again “Is this ok [y/N]” type y and hit enter. The transaction summary will be similar to this:
Transaction Summary ============================================================================================================================================================================================= Install 344 Packages Upgrade 1530 Packages Remove 2 Packages Downgrade 4 Packages Total download size: 1.7 G Is this ok [y/N]: y
There will also be some packages reinstalled. (For reasons known only to developers dnf in OM does not list reinstall.)
If dnf transaction completes without error Reboot.
$ sudo cp -a /etc/yum.repos.d/openmandriva-rock-x86_64.repo.rpmnew /etc/yum.repos.d/openmandriva-rock-x86_64.repo
re-enable users choice of repos
Optional but recommened to remove no longer used dependency packages:
$ sudo dnf autoremove
Enjoy OM Lx 4.1
Note: Do pay attention when using autoremove to be sure you don’t remove something you want to keep. If you copy and paste the removal list somewhere you can always add the package later.
Post-edit: Looks like I did not emphasize enough that a fresh install is always preferred to a system version upgrade like this. In our testing the procedure above worked very well as far as we are able to test such things. When users start doing this then some report “It works great not any problem” but other users do report problems. This is normal for this type of operating system version upgrade. If after doing this procedure you do run in to problems then it is up to you to decide if you would rather try to problem solve issues or stop and do a fresh install.