How to use Red Hat Satellite to rollback packages on a Red Hat Enterprise Linux system?

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Red Hat Network (RHN)
  • Red Hat Satellite 5.x

Issue

  • How to use Red Hat Satellite to rollback packages on a Red Hat Enterprise Linux system?
  • Is it possible to use this feature to roll-back cross releases, such as Red Hat Enterprise Linux 6.4 to 6.3?

Resolution

  • The recommended way to do a rollback is to use the Red Hat Network/Satellite provisioning module and snapshot capabilities.
  • Snapshots are captured whenever an action takes place on a system. These snapshots identify groups, channels, packages, and configuration files.

  • To Create a snapshot refer these steps:

    1. Login to RHN / Satellite.
    2. Go to the System tab.
    3. Open system profile.
    4. Go to the Provisioning tab.
    5. Click on the Snapshot tab.
    6. Create a new Snapshot tag. Enter Snapshot tag name (this will mark the current system state).
  • To Rollback from a Snapshot refer these steps:

    1. From Snapshot tab, click the desired snapshot.
    2. Then select Rollback Tab (Which gives details about the packages which are available for rollback).
    3. Click on Rollback to Snapshot button on bottom-right corner.
    4. Under Event, it will show the event scheduled for the system.
    5. Run rhn_check command on the system. Use rpm package name command to check the packages rollback to older version.

Note :

  • Snapshot Rollback feature is provided by the Provisioning Entitlement on Red Hat Network (RHN), for more information refer to : Red Hat Network Provisioning Module

  • For information on how to rollback/downgrade packages refer: How can I use yum to downgrade or rollback some package updates?

  • It is not recommended to use this feature to roll-back between different releases, such as RHEL 6.4 to 6.1 or anything related to kernel, glibc (dependencies of glibc such as gcc), selinux packages. For this refer Satellite Documentation

  • Snapshot roll backs support the ability to revert certain changes to the system, but not in every scenario. For example, you can roll back a set of RPM packages, but rolling back across multiple update levels is not supported.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

3 Comments

I have used this feature in Satellite 5, how will this be done in Satellite 6?

Hi Eileen,

Currently Red Hat Satellite v 6 does not have package rollback feature. Can you open a support case with Red Hat technical support so we can check with the engineering team and get details about plan, whether it is possible to add this feature or not.

Thanks,
Ashish

This feature is rendered useless by "Red Hat Bugzilla – Bug 1158981" you can never tell if you should or should not rollback.