[CentOS] Remove old kernel

Sat Sep 6 00:21:03 UTC 2008
Akemi Yagi <amyagi at gmail.com>

On Fri, Sep 5, 2008 at 5:05 PM, Filipe Brandenburger
<filbranden at gmail.com> wrote:
> On Fri, Sep 5, 2008 at 20:00, Ed Donahue <liberaled at gmail.com> wrote:
>> I've switched from the xen kernel to regular kernel and trying to remove the
>> xen one is giving me an error:
>>
>> [root@ ~]# rpm -e kernel-xen-2.6.18-92.1.10.el5
>> error: Failed dependencies:
>>         xen-hypervisor-abi = 3.1 is needed by (installed)
>> xen-3.0.3-64.el5_2.1.i686
>
> This means you have to uninstall the "xen" package before you can
> uninstall "kernel-xen".

Also, look at the file /etc/sysconfig/kernel and make sure the default
kernel is the standard one:

DEFAULTKERNEL=kernel

(Yours might say kernel-xen if you initially installed the xen kernel)

Akemi