Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Enterprise Linux 5 »

Re: [rhelv5-list] I can't get yum to select the right kernel module
 RPM  for el5xen kernels ...

John Summerfield

2008-03-29

Replies:

Author LoginPost Reply
Sandor W. Sklar wrote:
> Hi, Folks ...
>
>
> I'm having a bit of a problem getting yum to select the proper RPM to
> install when there is a kernel module dependancy.
>
> Both the client system and the server are RHEL5. I've set up the yum
> repository on the server. On the server, I've got the following RPMs
> available:
>
> [root@(protected)
> /var/www/html/repo/sulair-openafs-1.4.6/RPMS/x86_64
>
> [root@(protected)-*
> openafs-kernel-1.4.6-2.6.18_53.1.13.el5xen_1.x86_64.rpm
> openafs-kernel-1.4.6-2.6.18_53.1.14.el5_1.x86_64.rpm
> openafs-kernel-1.4.6-2.6.18_53.1.14.el5xen_1.x86_64.rpm
> openafs-kernel-1.4.6-2.6.18_53.1.6.el5_1.x86_64.rpm
> openafs-kernel-1.4.6-2.6.18_53.1.6.el5xen_1.x86_64.rpm
> openafs-kernel-1.4.6-2.6.18_53.el5_1.x86_64.rpm
>
>
> On the client system, which is a Xen guest ...
>
> [root@(protected)
> 2.6.18-53.el5xen
>
> ... I run:
>
> [root@(protected)
> (... snip ...)
> --> Populating transaction set with selected packages. Please wait.
> ---> Downloading header for openafs-kernel to pack into transaction set.
> openafs-kernel-1.4.6-2.6. 100% |=========================| 8.3 kB   00:00
> ---> Package openafs-kernel.x86_64 0:1.4.6-2.6.18_53.1.14.el5_1 set to
> be updated
> --> Running transaction check
> --> Processing Dependency: kernel-x86_64 = 2.6.18-53.1.14.el5 for
> package: openafs-kernel
> --> Finished Dependency Resolution
> Error: Missing Dependency: kernel-x86_64 = 2.6.18-53.1.14.el5 is needed
> by package openafs-kernel
>
> So, it appears to me that yum is trying to install the RPM:
>
> openafs-kernel-1.4.6-2.6.18_53.1.14.el5_1.x86_64.rpm
>
> ... when it should be installing the RPM:
>
> openafs-kernel-1.4.6-2.6.18_53.1.14.el5xen_1.x86_64.rpm
>
>
> If, like the man page says, I try to specify the actual version of the
> RPM I want, I get ...
>
> [root@(protected)
> ( ... snip ... )
> Parsing package install arguments
> No Match for argument: openafs-kernel-1.4.6-2.6.18_53.1.14.el5xen
> Nothing to do
>
> I've tried "yum clean all" and such, with the same results. Am I
> missing something basic, or do I need to take other steps to make this
> work?

I'm fairly confused about all those numbers in the file names....

What does "rpm -qip" against relevant packages say, and does that help
you get things right?

What about if you bypass yum and install the thing with rpm?

--

Cheers
John

-- spambait
1aaaaaaa@(protected)
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.