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

"Brian J. Murrell" <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
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,
b.

_______________________________________________
Yum mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum
signature.asc (application/pgp-signature, 262 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/YHVwACgkQl3EQlGLyuXBupwCdHKBkxyZWGahxBVvDUb0hNDpT
uJoAoOmjxfDHADNOWuEf+Dyut3j2dICG
=aHlJ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.