还原yum更新

我需要在CentOS 6.9上更新NVidia驱动,并决定更新一些。 所以我做了sudo yum update并重新启动。 不幸的是,这造成了比之前更糟的NVidia问题。 我现在只能远程login,发现:

 FATAL: Module nvidia not found. NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running. 

哦,我希望我没有更新! 是否有可能恢复最新的yum update

是的,这是可能的。 使用yum history ,然后yum history undo <id of your update>请参阅本文中的更多信息。