Re: How to get less than the very best?
David Timms <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
Hiren Patel wrote:
> On Mon, 2007-06-11 at 17:51 -0700, Craig Huff wrote:
>> If (as I can see from the fedora-updates repository for FC6 at the moment) there exist
>
> first thought, which mirror is this, you are sure that it correctly
> offers both kernels to other machines?
>
>> two generations of the kernel:
>> kernel-2.6.20-1.2948.fc6.i686
>> and
>> kernel-2.6.20-1.2952.fc6.i686,
>> how do I get yum to download and install *.2948.*?
For yum to see the older kernel it must be in the repodata {made using
createrepo}. This would tell you for sure the reason. You can add -d 15
to get yum to more info as it performs it's work.
>> I can explicitly specify until I'm blue in the keyboard and get told it "don't exist"
>> even though I can see it on the web page.
>>
>> If I enter:
>> # yum list available kernel-2.6.20-1.2952.fc6.i686 kernel-2.6.20-1.2948.fc6.i686
>> I only get returned:
>> Available Packages
>> kernel.i686 2.6.20-1.2952.fc6 krnlrpms
>
> does this list both kernels?
> yum list available 'kernel*'
That only does the different packages starting with kernel. I don't
think yum can install old packages itself.
> i see options for more than one kernel, but i am using centos.
>
> Available Packages
> kernel.i586 2.6.18-8.1.4.el5.cento
> centosplus
> kernel-PAE.i686 2.6.18-8.1.4.el5.cento
> centosplus
> kernel-PAE-devel.i686 2.6.18-8.1.4.el5.cento
> centosplus
Hiren: this is actually three different packages, rather than three
versions of the same package.
>> My reason for wanting to do this is there are ancillary *-kmdl-* packages that don't
>> exist (yet?) for the 2952 release that have been built for the 2948 release and I'm still
>> on 2944, so I'd kinda like to move along.
If those kmods can be found on freshrpms, you might prefer how the
packaging there works - dkms automatically recompiles the kernel
interface when you boot a different kernel and you dont have to wait for
the repo to build one. This works nicely for at least the last 9 months
of kernels issued for nvidia and lirc drivers.
The immediate answer to the problem is to download via http or ftp from
a mirror that has the kernel you want, and then install it with:
yum localinstall filename.rpm or through rpm -Uvh filename.rpm
DaveT.