A distribution upgrade is upgrading from one version of OM Lx to another. Examples are upgrading from OM Lx 4.1 to 4.2 or from OM Lx 4.2 to Rolling.
A system upgrade is simply upgrading the packages within a given version of OM Lx. Example is upgrading the packages in OM Lx 4.2. There is a thread here with more about system upgrade and how to post in forum if you have an issue.
A system upgrade is a rather simple procedure and rarely causes problems itself. There may be problems with individual software that is upgraded. Many users do this daily or weekly. Doing system upgrades should be done at a minimum monthly but we recommend weekly.
A distribution upgrade is inherently more complicated with more moving parts. It requires specific commands, and possibly options appended to those commands. Also each specific instance may have special instructions. We usually post those as each situation occurs. Usually? We are a small, all volunteer, part-time group so sometimes things don’t happen as quickly as we wish. Users should look in forum for any threads about the type of distribution upgrade they are about to attempt before doing it. If you are in doubt please ask.
The basics of doing a OM Lx distribution upgrade:
- First be sure your current system is fully upgraded. Recommended to do this from command line in Konsole like this:
`$ dnf clean all ; sudo dnf clean all`
`$ sudo dnf upgrade | tee /home/your_user_name/upgrade.log`
Where you replace
your_user_name with your actual user name. This command string creates a file in your home directory called
upgrade.log in case something goes wrong.
- Change repositories to the branch (aka: distribution or channel) you wish to upgrade to.
So for a user wishing to upgrade from Lx 4.2 to Rolling first upgrade your 4.2 system then change repositories from rock (or possibly release) to rolling. You can use the Software Repository Selector to do this quite easily.
- Now you are ready to do the distribution upgrade. We do this with a different command, instead of
upgradewe will be using
distro-sync. Sometimes there are problems with things like renamed packages that require the use of an option
This we insist the users only do in Konsole or other terminal. The basic commands are as follows:
First run this command:
$ dnf clean all ; sudo dnf clean all
$ sudo dnf distro-sync | tee /home/your_user_name/upgrade.log
If you run in to problems the smart thing to do is stop and ask in this forum in English/Support or on IRC. But frequently the problems can be solved by adding the option
$ sudo dnf --allowerasing distro-sync | tee /home/your_user_name/upgrade.log
Sometimes this is all that is required but again users should look in the forum for any special instructions for their specific circumstance before doing this.