Oracle Linux – How to rollback an OSMH/OSMS update
APPLIES TO:
Linux OS - Oracle Linux 7, Oracle Linux 8 and Oracle Linux 9.
Oracle Cloud Infrastructure
Linux x86-64
GOAL:
How to rollback an OSMH/OSMS update.
SOLUTION:
Even when using OSMH/OSMS 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.