[Yum] forcing older kernel package install (rpm --oldpackage for yum?) redux
Brian J. Murrell
brian at interlinx.bc.ca
Tue Apr 9 21:29:41 UTC 2013
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.
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?
Cheers,
b.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.baseurl.org/pipermail/yum/attachments/20130409/74ba3370/attachment.asc>
More information about the Yum
mailing list