Announcement

Collapse
No announcement yet.

Im running kernel-xen but yum update tried to install kernel

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Im running kernel-xen but yum update tried to install kernel

    Hello,

    Converted my CentOS 5.7 box to CloudLinux a couple of days ago, and today I wanted to run a yum upd ate on my server.
    Although my server is a Xen domU machine, and I have kernel-xen installed, yum upd ate wants to install kernel.

    Code:
    root@ams001 [~]# uname -r
    
    2.6.18-374.3.1.el5.lve0.8.44xen
    Code:
    root@ams001 [~]# yum update
    
    Loaded plugins: fastestmirror, rhnplugin
    
    Loading mirror speeds from cached hostfile
    
    * cloudlinux-x86_64-server-5: ams-proxy.cl-mirror.net
    
    * rpmforge: fr2.rpmfind.net
    
    Excluding Packages in global exclude list
    
    Finished
    
    Se tting up Update Process
    
    Resolving Dependencies
    
    --> Running transaction check
    
    ---> Package kernel.x86_64 0:2.6.18-374.3.1.el5.lve0.8.44 se t to be installed
    
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ============================================================================================================================
    
    Package           Arch              Version X Repository                             Size
    
    ============================================================================================================================
    
    Installing:
    
    kernel            x86_64            2.6.18-374.3.1.el5.lve0.8.44               cloudlinux-x86_64-server-5             21 M
    
    Transaction Summary
    
    ============================================================================================================================
    
    Install       1 Package(s)
    
    Upgrade       0 Package(s)
    
    Total download size: 21 M
    
    Is this ok [y/N]: n
    
    Exiting on user Command
    
    Complete!
    My DEFAULTKERNEL in /etc/sysconfig/kernel is already configured as kernel-xen

    Code:
    root@ams001 [~]# cat /etc/sysconfig/kernel
    
    # UPDATEDEFAULT specifies if new-kernel-pkg should make
    
    # new kernels the default
    
    UPDATEDEFAULT=yes
    
    # DEFAULTKERNEL specifies the default kernel package type
    
    DEFAULTKERNEL=kernel-xen
    Any ideas of how I can stop yum update try to install kernel? Or should I just go forth and install the kernel package too?

    Thanks in advance,
    George

  • #2
    George,

    Please, run:
    rpm -qa|grep kernel

    Then run:
    rpm -e full_package_name
    for all kernel (but not kernel-xen) packages.
    Once you no longer have any kernel packages (and only kernel-xen packages) -- they will no longer get updated.

    Comment


    • #3
      Thanks a lot. That fixed this

      Comment

      Working...
      X