Package Updates

Before you perform any upgrade, it is important to ensure you have the latest versions of all installed packages. This will make your upgrade go much more smoothly.

Procedure: Updating the Uyuni Server
  1. On the Uyuni 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: Updating the Database Schema

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

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

    postgresql start
  2. Perform the schema update:

    spacewalk-schema-upgrade
  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.