我可以在 Linode Manager 页面上更改内核,但我不知道如何将 CentOS 7.2 降级到 7.1
答案1
您可以看一下这个过程以供参考。
# yum history
Loaded plugins: fastestmirror
ID | Login user | Date and time | Action(s) | Altered
-------------------------------------------------------------------------------
68 | <p15119007g> | 2016-02-27 01:40 | I, U | 27
67 | <a15099004r> | 2016-02-25 03:05 | Install | 1
66 | <a15099004r> | 2015-12-28 05:39 | Install | 1
65 | <a15099004r> | 2015-12-18 03:53 | Update | 1
64 | <a15099004r> | 2015-12-18 03:53 | Update | 3 EE
您可以通过此命令获取信息
]# yum history info 67
Loaded plugins: fastestmirror
Transaction ID : 67
Begin time : Thu Feb 25 03:05:33 2016
Begin rpmdb : 490:72cf901a0f20ed46ebf4f2a1fbd5b59cde29cd80
End time : 03:05:38 2016 (5 seconds)
End rpmdb : 491:fa86b8767c48011cab7b19968339fc95b38f0475
User : <a15099004r>
Return-Code : Success
Command Line : install mlocate
Transaction performed with:
Installed rpm-4.8.0-47.el6.x86_64 @base
Installed yum-3.2.29-69.el6.centos.noarch @base
Installed yum-plugin-fastestmirror-1.1.30-30.el6.noarch @base
Packages Altered:
Install mlocate-0.22.2-6.el6.x86_64 @base
history info
undo
将删除已安装的包
# yum history undo 2