SUSE Manager Server Update

This update procedure covers simple package updates or a concerted micro update, which is also known as a maintenance update (MU). During a MU the user stops services, updates packages, runs the script to update the database, and restarts services. Example:

This means first you ensure that you have the latest version of all installed packages installed. Then you can upgrade the database schema.

Procedure: Updating Packages on the SUSE Manager Server

By default, several update channels are configured and enabled for the SUSE Manager Server. New and updated packages will become available automatically.

  1. On the SUSE Manager Server, at the command prompt, as root, stop the spacewalk services:

    spacewalk-service stop
  2. List available patches:

    zypper list-patches
  3. Apply all available patches:

    zypper patch
Procedure: Upgrading the Database Schema

If a patch includes a new database schema upgrade, you will need to use the spacewalk-schema-upgrade command.

  1. On the SUSE Manager Server, at the command prompt, as root, ensure the database service is running:

    systemctl start postgresql
  2. Perform the schema update:

  3. Restart the spacewalk services:

    spacewalk-service start

Services affected by a package update are not automatically restarted after an update. You need to restart these services manually to avoid potential failures. Use zypper ps to check for applications that are using old code and require restarting.

Reboot the server if a patch update recommends rebooting.