如何在 Redhat 7 上执行 yum 降级
例如,我们想要降级 ambari-agent pkg
yum history
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
ID | Command line | Date and time | Action(s) | Altered
-------------------------------------------------------------------------------
32 | -y upgrade ambari-agent | 2018-03-20 06:10 | Update | 1 EE
答案1
您可以通过撤消最新升级(在本例中为 32)来简单地降级:
yum history undo 32