We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Yum update and backuout plan

mokkan
mokkan asked
on
Medium Priority
479 Views
Last Modified: 2012-06-21
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.
Comment
Watch Question

Author

Commented:
When  yum updates the packages, do you know where it keeps all the information?
CERTIFIED EXPERT
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Joseph GanSystem Admin
CERTIFIED EXPERT

Commented:
The information is under /var/cache/yum.
Joseph GanSystem Admin
CERTIFIED EXPERT
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
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?

Author

Commented:
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'.
Joseph GanSystem Admin
CERTIFIED EXPERT

Commented:
Normally before any patching, backup the whole OS as well, not just backup yum information if you were not sure about the patches/packages.

Author

Commented:
Thank you for all of your info.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.