openSUSE 42.2 Leap is still at the moment in RC2 state but a upgrade is already possible.
More information about 42.2 Leap can be found in the official release notes
I have a fresh installed 42.1 which is fresh patched so the first step will be the replacing of repository information:
cd /etc/zypp/repos.d sed -i 's/42.1/42.2/' *
Load new repositories:
Now you can start the upgrade procedure:
The final step is a reboot:
Roshan Hiripitiyage says
Thanks.I was able to get the updates by following your guide lines.
Razvan, thank you. Downloading first all packages is indeed helpful, OpenSUSE repositories are often not reachable or packages are not available(404).
Razvan Mihaiu says
This worked great for me. Once change though:
sudo zypper dup –download-in-advance
It’s always better to download all the files in advance. I mean, I don’t even understand why this is not the only way to perform an upgrade (or at least, it should be the default one).
The official upgrade file provided by OpenSuse is so damn intimidating. Without your small article I would have given up on this for now.
Well, this looks like a blind flight. It might work in a close-to-ideal setup, but you’re ignoring all possible interdependencies with third party PPAs which people may have in their 42.1 repo list today. It would be more safe to remove those before doing the upgrade and then add them back in afterwards.