Currently (2022-01-01) you would be upgrading from OM Lx 4.2.
Important: A fresh install is always preferred over a distribution upgrade. I set up my work systems with independent data partitions so I can easily do a fresh install if there are problems.
-
Preparation:
a. User needs to be sure they have enough free space on their / (root) partition to do this transition. It is difficult to know a precise number for this as people add software and everyones system is different. We do know that applications like Flatpak eat up a lot of disk space. For now it is estimated that for most users 5 GB of free space should be enough.b. Before proceeding you should fully upgrade your OM Lx 4.2 system.
-
Disable any and all third party repositories like google-chrome, ect. You can enable these again after the distribution upgrade.
-
The actual transition process begins: Change your repositories (all of them) from either Rock or Release to Rolling with the “Software Repository Selector”. Note: It is very important that all of your repositories are for the same branch, in this case Rolling so every single repository should have Rolling in file name. Disable for now all non-free, restricted and unsupported repositories. This way you are mostly upgrading “system” software. The other stuff can be upgraded after this transition.
Check that you have only Rolling and Rolling updates repositories enabled with this command:
$ dnf repolist
-
About the Rolling upgrade.
This is a major upgrade. Like any major software change you absolutely have to do this the correct way.
It is ultra, hugely, majorly, important that you run “dnf clean all ; sudo dnf clean all” before doing this procedure.
dnf clean all
removes anything leftover in cache and forces dnf to download the latest metadata from repositories ensuring that users gets the latest available software. Do not skip this step.Do not use
sudo dnf upgrade
for this.It is important that you upgrade to Rolling the correct way:
$ dnf clean all ; sudo dnf clean all ; sudo dnf distro-sync
At the end there are some questions asked about keeping current file or installing the package maintainers version. Normally accepting the defaults is safe. Packages you for sure want to keep the existing file are the ones that have your users, groups, and passwords. They are:
/etc/gshadow /etc/passwd /etc/shadow /etc/group
For those always select to keep the existing file.
Note: Do not use Discover or dnfdragora to upgrade a Rolling system. They use a command that is fine for our regular stable release but is not correct for the dynamic changes that happen with Rolling.
-
Next do this to install pipewire-pulse for sound and to switch from obsolete kysysguard to plasma-systemmonitor:
$ sudo dnf remove ksysguard ; sudo dnf install pipewire-pulse plasma-systemmonitor
-
Optional but recommended. Remove packages installed as dependency but which are no longer needed by any package. (In other words remove useless packages.)
$ sudo dnf autoremove
-
Reboot into your new Rolling system.
-
If you encounter any problems please report each issue in a new post in the Support Forum with a descriptive title and enough information so other people can help.
Note: Sometimes it may be necessary to add the option --allowerasing
to the main command to get everything to work. Like this:
$ dnf clean all ; sudo dnf clean all ; sudo dnf --allowerasing distro-sync
If you do this pay attention and be smart and write down any packages erased/removed so you can re-install them later if needed.
Note: There is an excellent “How To” describing this process with screen-shots here. The screen-shots can be especially helpful for users struggling with decisions in the dialog at the end where the system asks if you want to accept new files created by package maintainer or keep your old files.