Attention Rock users: Rock repositories switched to OM Lx 4.2

Note: It is generally better to do a fresh install than upgrading an existing system if you can manage this. OM Lx 4.2 Release announcement and link to installation media here.

If you have any third party repositories disable them before doing this. It is impossible to predict what may happen with 3rd party software with a system upgrade. The example is using a default system with no additional software installed. If any additional software is OM software there should not be any problem. If you do encounter issues let us know in a new thread devoted to your specific issue. If you post a thread with multiple issues you are likely to only get one issue answered so do not do that.

First the reason for the delay. When we switch Rock repositories to a new release there is a massive transfer of data that has to take place in steps. This takes quite a bit of time and I needed to wait until the process was complete.

Be sure that you have fully upgraded your Lx 4.1 system as described in the first post. My example test is done on a znver1 system if you have a x86_64 system you will see x86_64 instead of znver1 in the examples.

Now for the OM Lx 4.2 to 4.2 system upgrade:

Use Software Repository Selector to switch your repositories to Rock. Open Konsole (or other terminal) and upgrade your system with this command (this is a big transaction):

$ sudo dnf clean all ; sudo dnf --allowerasing distro-sync

At the end of this upgrade process you will see some scripts that run and ask user questions. If you read the output this is well explained for each script. I answered them like this:

I selected “Y” to install the package maintainers version for a few. The ones where I selected “Y”:

Configuration file ‘/etc/yum.repos.d/openmandriva-cooker-x86_64.repo’
Configuration file ‘/etc/yum.repos.d/openmandriva-release-x86_64.repo’
Configuration file ‘/etc/yum.repos.d/openmandriva-rock-x86_64.repo’
Configuration file ‘/etc/yum.repos.d/openmandriva-rolling-x86_64.repo’
Configuration file ‘/etc/default/grub’

For everything else I accepted the default suggestion by simply pressing the Enter key on keyboard.

If you accept the default for everything you will end up with the old mirror.list instead of Mirrorbits which is a notable improvement. That is why I suggest to accept the new files for all the .repo files. If you accept the default for grub you may miss changes in how grub boots newer kernels so also it is recommenced to accept the new file for grub. Otherwise for the rest the default is good.

Then before you reboot run these commands:

$ sudo rpm --rebuilddb -vvv

$ sudo dnf install plasma-workspace-x11 ; sudo dnf reinstall distro-release-theme

Reboot in to your new OM Lx 4.2 system.