Server - Minor Version Upgrade with YaST

To perform the upgrade with YaST, use the Online Migration tool.

If YaST does not have the Online Migration tool available, install the yast2-migration package and all the required packages. After installing, restart YaST to ensure the tool is available within YaST.

Procedure: Upgrading with YaST
  1. From the command prompt, as root, ensure the spacewalk services are not running:

    spacewalk-service stop
  2. Launch the YaST online migration tool:

    yast2 migration

    If there are older updates available, YaST will notify you and ask to install them first. You must install all package updates before performing the migration. For more information, see Server - Patch Level Upgrade (Z Upgrade).

    YaST will show the possible migration targets with detailed summaries.

  3. Select the appropriate target, and follow the prompts to complete the migration.

  4. Reboot the server.

  5. When rebooted the SUSE Manager spacewalk services are not running until you have migrated the PostgreSQL database to version 14.

  6. Log in on the text console as root. If you are upgrading from 4.1 or 4.2 to 4.3, run the database migration script:

    /usr/lib/susemanager/bin/pg-migrate-x-to-y.sh
  7. Ensure the spacewalk services are running:

    spacewalk-service start

    spacewalk-schema-upgrade is not needed anymore. It will be run during spacewalk-service start automatically.

During the upgrade, YaST will install all recommended packages. This can significantly increase the installation size of the system. To only install required packages, open the /etc/zypp/zypp.conf configuration file and set these variables:

solver.onlyRequires = true
installRecommends = false

This changes the behavior of all future package operations.