"Brian J. Murrell" <brian@xxxxxxxxxxxxxxx> writes: > A while ago in: > > http://lists.baseurl.org/pipermail/yum/2012-June/023859.html > > I asked about Yum's refusal to install an older kernel package: > > Transaction Check Error: > package kernel-2.6.32-358.2.1.el6.x86_64 (which is newer than kernel-2.6.32-279.14.1.el6_foo.x86_64) is already installed > > The reason kernel-2.6.32-279.14.1.el6_foo.x86_64 is > even being considered for installation is because a given kernel > modules package requires it with: > > kernel = 2.6.32-279.14.1.el6_foo > > But clearly this confuses Yum since it doesn't want to install > the older kernel package. I was told back then in: > > This message is from rpm. Which means that yum/rpm is treating the > "kernel" package as a normal package and not as an "installonly" > package. Something seems badly configured. The follow on to this is that "kernel" should be in the installonlypkgs configuration list. > And indeed, if I try to just use RPM to install this kernel, I > get the same error: > > # rpm -ivh kernel-2.6.32-279.14.1.el6_foo.x86_64.rpm > Preparing... ########################################### [100%] > package kernel-2.6.32-358.2.1.el6.x86_64 (which is newer than kernel-2.6.32-279.14.1.el6_foo.x86_64) is already installed > > But! RPM has an option, "--oldpackage" that allows to me tell it > that installing an older package is OK. Yum doesn't seem to have > any equivalent that I can see. > > Or does it? It has downgrade ... but you shouldn't need it in this case. -- James Antill -- james@xxxxxxx _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxx http://lists.baseurl.org/mailman/listinfo/yum