loading table of contents...

4.2.4.2. Rollback with YUM

To rollback the packages of a former installation you can undo the YUM transaction that made the upgrade:

  1. Enable the rollback feature in YUM by setting tsflags=repackage in the /etc/yum.conf.

  2. Find out the transaction ID of the upgrade you want to revert. sudo yum history will list all the transactions. With sudo yum history info [transaction id] you can show details of a transaction.

  3. Roll back the transaction by calling sudo yum history undo [transaction id].

If you want to downgrade one or all packages to a specific version you need to use the yum downgrade command together with the full qualified package names you want to downgrade, for example:

sudo yum downgrade cm8-cms-tomcat-14-1.release