To rollback the packages of a former installation you can undo the YUM transaction that made the upgrade:
Enable the rollback feature in YUM by setting
tsflags=repackage
in the/etc/yum.conf
.Find out the transaction ID of the upgrade you want to revert.
sudo yum history
will list all the transactions. Withsudo yum history info [transaction id]
you can show details of a transaction.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