Server - Y Upgrade with Zypper

To perform the upgrade with Zypper, use the Zypper migration tool.

Procedure: Upgrading with Zypper
  1. From the command prompt, as root, launch the Zypper migration tool:

    zypper migration

    Zypper will show the possible migration targets with detailed summaries.

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

  3. Reboot the server.

  4. When rebooted the spacewalk services are not running until you have migrated the PostgreSQL database to version 12.

  5. Log in on the text console as root, and run the database migration script:

    /usr/lib/susemanager/bin/pg-migrate-10-to-12.sh
  6. 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.

If the process fails, check these issues first:

  • If Zypper does not have the migration tool available, install the zypper-migration-plugin package.

  • If there are older updates available, Zypper will notify you and ask to install them first. You must install all updates before performing the upgrade.