mokkan
asked on
Yum update and backuout plan
If we are updating patches using yum update all and if there is a problem. How do we make the blackout plan? When it updates? Where does it keep the information? Please let me know.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The information is under /var/cache/yum.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
What I want to do is that I wan to execute yum update all. IF there is any issues come on the package, I want re-install. I want to check the log to see what are the packages have been upated, and I can go through and re-install.
What do you guys normally do?
What do you guys normally do?
ASKER
Can I do some thing like tihs?
tsflags=repackage to /etc/yum.conf
add %_repackage_all_erasures 1 to /etc/rpm/macros
rpm -Uvh --rollback '20 hours ago'.
tsflags=repackage to /etc/yum.conf
add %_repackage_all_erasures 1 to /etc/rpm/macros
rpm -Uvh --rollback '20 hours ago'.
Normally before any patching, backup the whole OS as well, not just backup yum information if you were not sure about the patches/packages.
ASKER
Thank you for all of your info.
ASKER