Once in a while you might have problems after running “yum update.” There is an intermediate solution by rollback feature included in YUM.
1. To enable rollback edit /etc/yum.conf and add
2. Add the following line into /etc/rpm/macros file if it doesn’t exist and add
now you are all set and can use the following examples to rollback
rpm -Uvh --rollback '22:00'
rpm -Uvh --rollback '3 hours ago'
rpm -Uvh --rollback 'june 13'
rpm -Uvh --rollback 'yesterday'
All previous repackaged software will be stored onto /var/spool/repackage