

Yum stores a sqlite database of information about each transaction. They are not perfect and should be used with care

Downgrades are tricky but in yum versions 3.2.27 and above it can do _some_ downgrades.Here we can see that the newer version of httpd, httpd-manual and mod_ssl altogether are reinstalled with the older version of those RPMs, and no package is going to be removed for dependencies. To downgrade them altogether, you can add them in the command: ~]# yum downgrade httpd-2.2.3-22.el5 httpd-manual-2.2.3-22.el5 mod_ssl-2.2.3-22.el5 The httpd-manual and mod_ssl packages will also be removed (instead of downgrade) because the downgraded httpd cannot satisfy the dependency of the current version httpd-manual and mod_ssl. Otherwise, yum will remove the closely related packages in order to satisfy the dependency requirement.įor example, if you want to downgrade httpd : ~]# yum downgrade httpd-2.2.3-22.el5 Usually, for some closely related packages, you may want to downgrade them all together. Note that this may also remove the packages that depends on the current version of the package. For example: ~]# yum downgrade vsftpd-2.0.5-12.el5 This will downgrade a package to the previously highest version or you can specify the whole version and release number for the package to downgrade. In Yum 3.2.22, which come with Red Hat Enterprise Linux 5.4, there is a downgrade option. How to use Red Hat Satellite to rollback packages on a Red Hat Enterprise Linux system?.How to use yum history to roll back an update in Red Hat Enterprise Linux 6, 7?.Please read the following guides for additional information: In general, use the yum history option is intended for small update rollbacks. If this operation is attempted, it is strongly recommended to only do so with working system backups in place.

Thus, downgrading a system to minor version (ex: RHEL6.1 to RHEL6.0) is not recommended as this might leave the system in an undesired state.
