[Yum] forcing older kernel package install (rpm --oldpackage for yum?) redux
James Antill
james-yum at and.org
Tue Apr 16 17:28:50 UTC 2013
"Brian J. Murrell" <brian at interlinx.bc.ca> writes:
> On 13-04-12 10:55 AM, James Antill wrote:
>>
>> The follow on to this is that "kernel" should be in the
>> installonlypkgs configuration list.
>
> Right. Which it is, both implicitly, according to the yum.conf manual
> page and explicitly when I specified the installonlypkgs list in my
> yum.conf file. Neither implicit or explicit worked and the kernel
> package I am trying to install does "provide" (in rpm --provides
> nomenclature):
>
> kernel = 2.6.32-279.14.1.el6_foo
I don't know then, but something is certainly broken here. This
should just work, and I don't know why it wouldn't.
>> It has downgrade ... but you shouldn't need it in this case.
>
> Right, but that requires specifying an explicit package and won't
> process a "downgrade" as part of a "yum install" where a package in the
> installation group "requires" a kernel "downgrade" to happen.
This is intentional, yum will install new packages or upgrade
packages to solve dependency problems ... but downgrading other
packages will often just cause more problems, so we don't try.
You can use "yum shell" to do the downgrades needed at the same time,
and then even use "yum load-ts" to load that transaction on other
machines.
--
James Antill -- james at and.org
More information about the Yum
mailing list