openSUSE Leap 15.2 is available since beginning of July.
Now, one month after the release, I am sure its the best time to perform the Upgrade on the production systems.
Note, that it is always a good idea to:
– look into the upgrade release notes to make sure, you don’t run in any deprecations with your currently running software
– run a backup or a snapshot of the system, which will going to be upgraded
– run the upgrade steps inside a screen
After you read the release notes and run a backup, synchronize your system to the actual patch level:
zypper ref ; zypper up
Now you can safe update your repositories to 15.1 version:
sed -i 's/15.1/15.2/' /etc/zypp/repos.d/* mv /etc/zypp/repos.d/openSUSE-15.1.0.repo /etc/zypp/repos.d/openSUSE-15.2.0.repo
The move step can fail, if your repository file name is different from the default one. But this is not a problem at all: The refresh process merely replaces needed repos.
Now, you are ready to run the upgrade process:
zypper refresh && zypper dup
Your system will have to be restarted at once, for all the changes to take effect and, thus, run the new system.