Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to downgrade the kernel from to 2.6.32-220.el6.x86_64

I am unable to install the older version using Yum/rpm as it gives the following error

root@localhost kernels]# rpm -i --ignoreos kernel-2.6.32-220.el6.x86_64.rpm 
warning: kernel-2.6.32-220.el6.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID  
192a7d7d: NOKEY
package kernel-2.6.32-279.el6.x86_64 (which is newer than kernel-2.6.32-220.el6.x86_64) is already installed
package (which is newer than kernel-2.6.32-220.el6.x86_64) is already installed
package (which is newer than kernel-2.6.32-220.el6.x86_64) is already installed

I cant remove the currently running kernel , so whats the way out?

Yum search doesnt even get me to this old version, so had to get the rpm from web.

Any help is much appreciated.

share|improve this question

migrated from Jun 18 '13 at 1:38

This question came from our site for professional and enthusiast programmers.

I don't have a lot of experience with rpm but can't you remove the current kernel package and then install the lower version one? The kernel isn't actually in effect until your reboot next. I'm not sure if CentOS/Redhat does this, but in Debian, when you upgrade your kernel with a kernel package, the previous kernel can be selected in the bootloader still. You might be able to do this too. – LawrenceC Jun 18 '13 at 2:11
@ultrasawblade: There's no need to remove the old kernel. Fedora-based distros allow multiple kernel packages to be installed; the trick is to use -i (instead of -U) and --oldpackage. – Ignacio Vazquez-Abrams Jun 18 '13 at 2:32
@JATMON Actually what you need to do is get a linux with a modern kernel version. The current version is 3.9.6 your centos version is using an ancient kernel. – cybernard Jun 19 '13 at 17:22

Actually, downgrade wouldn't work for kernel. The right command would be localinstall:

#yum localinstall ./kernel....rpm

If you have more then 5 kernels yum will delete oldest.

share|improve this answer
up vote 1 down vote accepted

rpm -ivh <kernel.rpm> --oldpackage does the job in centos

This will install your kernel, now make sure the grub entries are proper and then you can reboot and boot into this kernal

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.