我把内核升级到了 3.15.1,工作完美。想要删除之前的内核,但是删除之后需要安装一个 base 内核,百思不得其解。。具体情况如下:
目前正在使用的内核:
Linux opensuse 3.15.1-1.gee8dd2b-desktop #1 SMP PREEMPT Wed Jun 18 12:54:11 UTC 2014 (ee8dd2b) x86_64 x86_64 x86_64 GNU/Linux
【1】、使用 zypper 删除
zypper rm kernel-desktop-3.11.6-4.1.x86_64
结果是这样的:
The following NEW package is going to be installed:
kernel-desktop-base
The following package is going to be REMOVED:
kernel-desktop-3.11.6-4.1
1 new package to install, 1 to remove.
就算使用
zypper rm -u
效果也一样
【2】、使用 rpm 命令删除
rpm -e kernel-desktop-3.11.6-4.1.x86_64
结果如下:
error: Failed dependencies:
kernel-uname-r = 3.11.6-4-desktop is needed by (installed) virtualbox-guest-kmp-desktop-4.2.18_k3.11.6_4-2.2.10.x86_64
kernel-uname-r = 3.11.6-4-desktop is needed by (installed) ndiswrapper-kmp-desktop-1.58_k3.11.6_4-1.10.x86_64
kernel-uname-r = 3.11.6-4-desktop is needed by (installed) bbswitch-kmp-desktop-0.8_k3.11.6_4-13.1.x86_64
error: Failed dependencies:
virtualbox-guest-kmp = 4.2.18 is needed by (installed) virtualbox-guest-x11-4.2.18-2.12.1.x86_64
virtualbox-guest-kmp = 4.2.18 is needed by (installed) virtualbox-guest-tools-4.2.18-2.12.1.x86_64
ndiswrapper-kmp is needed by (installed) ndiswrapper-1.58-7.1.x86_64
bbswitch-kmp is needed by (installed) bbswitch-0.8-13.1.x86_64