I have 2.6.32-696.23.1.el6.x86_64 installed and would like to downgrade to 2.6.32-696.10.3.el6.x86_64 but the following command results in a skipping message:

yum downgrade -y --disableexcludes=all  kernel-2.6.32-696.10.3.el6.x86_64

Loaded plugins: fastestmirror, presto
Setting up Downgrade Process
Loading mirror speeds from cached hostfile
Package kernel-2.6.32-696.10.3.el6.x86_64 is allowed multiple installs, skipping

I cannot uninstall the current kernel via yum (as I could do via apt) and nor can I use rpm to easily do the work as there are some dependencies to sort out, which is why I chose to use yum in the first place.

So, is there an option to get yum to not skip and run the installation so I can use grubby to switch kernels?


Use yum install, not yum downgrade, on packages which can have multiple versions installed. The lowest version package of the same name will be removed if the number of versions has exceeded installonly_limit. You can also yum remove a specific package version if you wish (but avoid removing the running kernel; this usually results in an unbootable system).

| improve this answer | |
  • oh because I'm changing a variant within a version, it is not really a downgrade. Ah, ok that makes sense – Peter Kahn Jul 25 '18 at 21:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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