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.
Petr says
After upgrade from DVD (the system was recognized as 15.1) the KDE etc. runs o.k.. Only the login screen shows a silly full-screen keyboard, from where by not so intuitive clicking the real login screen appears (but completely different from 15.1). That keyboard appeared first time after the above unsuccessful upgrade and persists.
Petr says
I’m not sure why that happened, I even didn’t find a lp15.2 kernel although the above commands have shown nothing to update or upgrade. I try to upgrade from DVD. It only upgrades from default repositories, but seems safer.
Igor Drobot says
Hi Petr,
KDE can be annoying during updates and it’s require a special procedure. Try to reinstall KDE:
zypper in -t pattern kde kde_plasma
Petr says
Beware, this procedure didn’t work for me! I upgraded in similar manner from 42.3 to 15.0, then to 15.1, worked like a charm. But from 15.1 to 15.2 any more. Everything seems updated, but the boot options are same as in 15.1, new kernel probably is not installed. Needles to say, that I have no more my old 15.1. It doesn’t start KDE, only IceWM.