192.168.222.129110315
Last login: Tue Nov 3 23:52:15 2015 from 192.168.222.1
[[email protected] ~]# uname -a
Linux localhost.localdomain 2.6.32-573.el6.x86_64 #1 SMP Thu Jul 23 15:44:03 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] ~]# rpm -qa|grep kernel
kernel-firmware-2.6.32-573.el6.noarch
dracut-kernel-004-388.el6.noarch
kernel-firmware-2.6.32-573.7.1.el6.noarch
kernel-2.6.32-573.el6.x86_64
kernel-2.6.32-573.7.1.el6.x86_64 #删除有问题的核
[[email protected] ~]# yum remove kernel-2.6.32-573.7.1.el6.x86_64
已加载插件:fastestmirror
设置移除进程
解决依赖关系
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> 执行事务检查
---> Package kernel.x86_64 0:2.6.32-573.7.1.el6 will be 删除
--> 完成依赖关系计算
依赖关系解决
=============================================================================================================================================
软件包 架构 版本 仓库 大小
=============================================================================================================================================
正在删除:
kernel x86_64 2.6.32-573.7.1.el6 installed 126 M
事务概要
=============================================================================================================================================
Remove 1 Package(s)
Installed size: 126 M
确定吗?[y/N]:y
下载软件包:
运行 rpm_check_debug
执行事务测试
事务测试成功
执行事务
正在删除 : kernel-2.6.32-573.7.1.el6.x86_64 1/1
Verifying : kernel-2.6.32-573.7.1.el6.x86_64 1/1
删除:
kernel.x86_64 0:2.6.32-573.7.1.el6
完毕!
[[email protected] ~]# shutdown -r now
Broadcast message from [email protected]
(/dev/pts/0) at 23:56 ...
The system is going down for reboot NOW!
#重启后,该内核“ kernel-2.6.32-573.7.1.el6.x86_64 ”被删除。