[Yum] forcing older kernel package install (rpm --oldpackage for yum?)

Brian J. Murrell brian at interlinx.bc.ca
Wed Jun 13 04:55:55 UTC 2012

I want to do a yum update from a given internal repo that includes a
kernel that's older than the one I have installed.  Yum refuses to do
this update though:

Transaction Check Error:
  package kernel-2.6.32-220.17.1.el6_foo.g636ddbf.x86_64 (which is newer than kernel-2.6.32-220.17.1.el6_foo.x86_64) is already installed

and then errors out.

How can I force yum to install the older kernel even though a supposedly
newer one is already installed?  I guess I'm looking for the yum
equivalent of rpm's "--oldpackage" option.

I know I could use "rpm -e" to remove
kernel-2.6.32-220.17.1.el6_foo.g636ddbf.x86_64 before I do the yum
update, but it's just too dangerous to remove your only known working
kernel before installing a newer, as-of-yet, not known working kernel.

Cheers and thanks in advance for any ideas,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20120613/33bc644f/attachment.asc>

More information about the Yum mailing list