Link to home
Start Free TrialLog in
Avatar of mokkan
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.
Avatar of mokkan
mokkan

ASKER

When  yum updates the packages, do you know where it keeps all the information?
ASKER CERTIFIED SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The information is under /var/cache/yum.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mokkan

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?
Avatar of mokkan

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'.
Normally before any patching, backup the whole OS as well, not just backup yum information if you were not sure about the patches/packages.
Avatar of mokkan

ASKER

Thank you for all of your info.