The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/

ZSystems/Upgrade SLES to openSUSE

Jump to: navigation, search

The LinuxONE Community Cloud provides only SLES, RHEL and Ubuntu as possible development operating systems. This tutorial is an introduction how to upgrade your vm from SLES 15 SP1/SP2 to openSUSE Tumbleweed.


Disable SLES

You can verify your SLES system with cat etc/os-release. sudo zypper services is showing you the name of the service behind of all SLES repositories. You can disable them with zypper removeservice ${alias}. Example:

sudo zypper removeservice SMT-http_lxslsmt 

Upgrade to openSUSE Leap

SLES 15 SP1 requires openSUSE Leap 15.3 before the upgrade to openSUSE Tumbleweed. It is possible to skip this step with a preinstalled SLES 15 SP2.

  1. Add all required Leap repositories:
sudo zypper ar -f https://download.opensuse.org/distribution/leap/15.3/repo/oss/ "OSS Leap 15.3"
sudo zypper ar -f  https://download.opensuse.org/distribution/leap/15.3/repo/non-oss/ "Non-OSS Leap 15.3"
  1. Verify your repositories:
sudo zypper repos --uri
  1. Refresh for updates of the keys:
sudo zypper refresh
  1. Execute the upgrade:
sudo zypper dup --allow-vendor-change --force-resolution
  1. Reboot (that can require some time):
sudo reboot
  1. Verify that you're indeed running openSUSE leap
grep -ci leap /etc/os-release

should return a number >= 1 after a successful upgrade to the Leap release of openSUSE.

  1. Ensure that there are no recommended packages left to be installed
sudo zypper inr

Upgrade to openSUSE Tumbleweed

  1. Remove Leap/SLES repos:
sudo zypper rr 2
sudo zypper rr 1 
  1. Add Tumbleweed repositories:
sudo zypper ar -f http://download.opensuse.org/ports/zsystems/tumbleweed/repo/oss/ "OSS"
sudo zypper ar -f  http://download.opensuse.org/ports/zsystems/source/tumbleweed/repo/oss/ "Source"
sudo zypper ar -f  http://download.opensuse.org/ports/zsystems/debug/tumbleweed/repo/oss/ "Debug"
sudo zypper ar -f http://download.opensuse.org/ports/zsystems/tumbleweed/repo/non-oss/ "NonOSS"
sudo zypper ar -f  http://download.opensuse.org/ports/zsystems/source/tumbleweed/repo/non-oss/ "Source-NonOSS"
  1. Verify your repositories:
sudo zypper repos --uri
  1. Refresh for updates of the keys:
sudo zypper refresh
  1. Execute the upgrade:
sudo zypper dup --allow-vendor-change --force-resolution
  1. Reboot (that can require some time):
sudo reboot
  1. Verify you're indeed running openSUSE Tumbleweed
uname -r

should - at least at the time of this writing - return a kernel version 5.13.x

grep -ci tumbleweed /etc/os-release

should return a number >= 1

  1. Ensure that there are no recommended packages left to be installed
sudo zypper inr