Security · Patch Management
Rollback
Cheat sheet · https://pcornel.dk/topic.php?topic=4838
Answer
Rollback undoes a problematic update by uninstalling it, restoring a snapshot or redeploying the previous version. Plan it before deployment, especially for servers and network devices.
Remember
- Plan rollback before deploying.
- Uninstall, snapshot revert or redeploy.
- Some patches cannot be removed.
First checks
- Snapshot/backup before patching — rollback point
wusa /uninstall /kb:<n>— Windows rollbackdnf history undo <id>— RHEL rollback
Verify in this order
patch issue → rollback → fix → reapply
Where it usually breaks
First mismatch in asset inventory → applicable baseline/finding → risk/exception decision → remediation → verification → compliance/reporting; preserve identity/policy/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4838