Following along in my line of “Readers Digest” versions of the official Opensuse upgrades procedures (here are a couple of my past ones: 11.1, 11.2, 11.4, 12.1, 12.2, 12.3, 13.1, 13.2, 42.1, 42.2, 42.3, and 15.0)… Here’s the latest for upgrading in-place from openSuse 15.0 to 15.1 below. Just be sure to run each of these lines one-at-a-time, not like a script.
And please… if you don’t know what you’re doing, please don’t do this. This process does not take many special conditions into account, since it is a simplified version. There’s a link at the end for the official documented instructions if you need further help. Now, let’s get to it:
# # Make a snapshot before you proceed! # Run the following as the root user, or insert all your sudo commands if you like # Please ensure you have space to do an upgrade! df -h # If you can, do a final update (if the repos still exist)... zypper ref;zypper up # Now check your repos. Look for anything custom, and note it for later if so... zypper lr --url # Remove anything you don't need, for example: zypper rr devel_languages_python # Now, we actually do the UPGRADE… # Back up all the old repos, just in-case... cp -Rv /etc/zypp/repos.d /etc/zypp/repos.d.15.0 # Convert all the old repos to new... sed -i 's/15.0/15.1/g' /etc/zypp/repos.d/* # Verify the repos... zypper lr --uri # Import the keys for the repos and refresh the local cache… zypper --gpg-auto-import-keys ref # Do a Distribution UPgrade... and I like the option to download all the packages first, before installation (if space is available)... zypper dup --download-in-advance # And now that the upgrade is done, add back any custom repos at this point (optional, depends on your environment) # And reboot (and watch from a console)... init 6
My advice is to make sure you have multiple terminal sessions during the upgrade, in case something goes a little strange, and make sure you have space for the kernel and all the files (especially if you have small /boot partitions).
Thanks to the folks at Suse; and here’s the thorough and detailed guide that I adapted this from: