On 1/18/07, Andrew Robinson <awrobinson-ml@xxxxxxxxx> wrote:
Kam Leo wrote: > On 1/16/07, Andrew Robinson <awrobinson-ml@xxxxxxxxx> wrote: >> Kam Leo wrote: >> > On 1/11/07, Andrew Robinson <awrobinson-ml@xxxxxxxxx> wrote: >> >> I updated my kernel with 'yum install kernel'. Now I want to >> install the >> >> corresponding kernel-devel package. When I run 'uname -a', I get >> >> >> >> Linux proteus 2.6.18-1.2869.fc6 #1 SMP Wed Dec 20 14:51:19 EST 2006 >> i686 >> >> athlon i386 GNU/Linux >> >> >> >> I assume this means I want the 2.6.18-1.2869.fc6 i686 version of >> >> kernel-devel. >> >> >> >> When I run 'yum search kernel-devel', I get the following choices: >> >> >> >> kernel-devel.i586 2.6.18-1.2798.fc6 core >> >> kernel-devel.i686 2.6.18-1.2798.fc6 core >> >> kernel-devel.i586 2.6.18-1.2868.fc6 updates >> >> kernel-devel.i686 2.6.18-1.2868.fc6 updates >> >> kernel-devel.i586 2.6.18-1.2849.fc6 updates >> >> kernel-devel.i686 2.6.18-1.2849.fc6 updates >> >> kernel-devel.i586 2.6.18-1.2869.fc6 updates >> >> kernel-devel.i686 2.6.18-1.2869.fc6 updates >> >> kernel-devel.i586 2.6.18-1.2849.fc6 installed >> > ^ >> > | >> > This tells me that you have the i586 kernel installed. Do "rpm -q >> > kernel" and >> > see if this is not the case. (By the way this is a known bug in >> > the FC6 installer.) >> > >> > You need is to download the i686 kernel, perform a "rpm -ivh >> > kernel-*.i686.fc6.rpm", >> > and reboot with the new kernel. >> > >> >> It looks to me like the one I want is >> >> >> >> kernel-devel.i686 2.6.18-1.2869.fc6 updates >> >> >> >> When I run 'yum install kernel-devel.i686', the only choice I get is >> >> >> >> kernel-devel i686 2.6.18-1.2798.fc6 core >> >> >> >> How do I tell yum that I want the 2869 build version from the updates >> >> repo? I tried several things, but couldn't seem to find the right >> >> combination. >> >> >> >> OK, I have verified every way that I could that I have the i686 kernel >> installed. 'uname -a' gives me this: >> >> Linux proteus 2.6.18-1.2869.fc6 #1 SMP Wed Dec 20 14:51:19 EST 2006 i686 >> athlon i386 GNU/Linux >> >> 'rpm -q kernel --queryformat "%{n} %{v} %{r} %{arch}\n"' gives this: >> >> kernel 2.6.18 1.2849.fc6 i586 >> kernel 2.6.18 1.2869.fc6 i686 > > First, get the correct name for the package you want to install. The > rpm output should have cued you in. Then, perhaps "yum install > kernel-devel-2.6.18 1.2869.fc6 i686" will give you the results that > you want. > > Why are you relying on yum so heavily? It appears you know how to use > rpm. You could have used "rpm -ivh > path_to_package/kernel-devel-2.6.18.1.2869.fc6.i686.rpm". > (Path_to_package can be a URL or a local directory.) > Kam, your advice was accurate. I looked up the 2869, i686 rpm on the updates site and rpm'ed it. I have been insistent on using yum because my experience, when I stray from yum, I can never get the whole system upgraded at some later date. Thanks for the help! Andrew
You are welcome.