Re: YUM won't give me the correct kernel-devel package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/16/07, Kam Leo <kam.leo@xxxxxxxxx> 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
                                             ^
Oops. Should not cut and paste using your data. Correct package name
is  kernel-devel-2.6.18-1.2869.fc6.i686

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".
                                                 ^
Again here: Should be "kernel-devel-2.6.18-1.2869.fc6.i686.rpm".

(Path_to_package can be a URL or a local directory.)

> If I run 'yum install kernel-devel', I get this choice:
>
> kernel-devel   i586   2.6.18-1.2869.fc6  updates   4.6 M
> kernel-devel   i686   2.6.18-1.2798.fc6  core      4.6 M
>
> If I run 'yum install kernel-devel.i686', I get this choice:
>
> kernel-devel   i686   2.6.18-1.2798.fc6  core      4.6 M
>
> As I noted in my first post, 'yum search kernel-devel' does show a
> 1-2869 version for i686 arch, but I don't know how to tell yum to
> install that one. How do I do so?
>
> Thanks!
>
> Andrew Robinson



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux