FIXME Not yet working ==== install EPEL ==== rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm ==== enable yum rollback ==== echo ‘tsflags=repackage’ >> /etc/yum.conf echo ‘%_repackage_all_erasures 1′ >> /etc/rpm/macros ==== Sample commands ==== Repackaged files are stored in /var/spool/repackage. Once you’ve run an update, check this directory and you will see the previous packages listed there. ls -lha /var/spool/repackage As of yum version 3.2.25 you should use the Yum history command. Yum history supports the following options – ‘info|list|summary|redo|undo|new’. Check the Yum man page for details of the options, and more suggestions on using history. This will list all Yum updates, with a transaction ID number next to them. yum history To query the update, use this transaction ID number (let’s say 27 for this example) and the info option: yum history info 27 If you then decide you want to roll-back this update, run history command with the undo option: yum history undo 27 You can also use the rpm command to execute rollbacks to a previous state by time or date, e.g. rpm -Uhv –rollback ’9:00 am’ rpm -Uhv –rollback ’4 hours ago’ rpm -Uhv –rollback ‘december 25′