Oracle Linux – How to rollback an OSMH update
APPLIES TO:
Oracle Cloud Infrastructure
OS Management Hub
Linux OS
GOAL:
How to rollback an OSMH update.
SOLUTION:
Even when using OSMH for packet management and security updates, the best option to rollback an entire update is with:
Oracle Linux 7:
# yum history undo <id>
Oracle Linux 8 and 9:# dnf history undo <id>
In case that only the update of specific packages needs to be rolled back (in this example tigervnc related packages):
Oracle Linux 7:
# yum downgrade tigervnc\*
Oracle Linux 8 and 9:# dnf downgrade tigervnc\*
Note: The option to navigate to Resources > Installed packages and remove the package by pressing Remove would effectively remove the said package and then it would required for it to be reinstalled, rather than rolling back to the previous version of the package.