Rollback of yum updates and/or rpm installs
I've recently learned that you can configure both yum and rpm to save copies of their previous configurations so that changes can be undone or rolled back if the updates cause an unexpected problem.
For yum, you add the line tsflags=repackage to the /etc/yum.conf file.
For rpm, add the line %_repackage_all_erasures 1 to /etc/rpm/macros file. (You may have to create /etc/rpm/macros if it doesn't exist already.)
I've never used these before and want to learn more about how flexible they are. In particular, if you run a general-purpose 'yum update' and one of the installed/updated RPM's creates a problem, can you roll back just the package that caused the problem? ...or do you have to remove all of them and then go reinstall the things that didn't cause problems?
If it makes a difference, I'm running various incarnations of Fedora; mostly 6, 7, & 8.
Thanks all,
WN
|