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:
[EMAIL PROTECTED] x86_64]# pwd
/var/www/html/repo/sulair-openafs-1.4.6/RPMS/x86_64
[EMAIL PROTECTED] x86_64]# ls -1 openafs-kernel-1.4.6-*
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 ...
[EMAIL PROTECTED] uname -r
2.6.18-53.el5xen
... I run:
[EMAIL PROTECTED] yum install openafs-kernel
(... 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 ...
[EMAIL PROTECTED] yum install openafs-kernel-1.4.6-2.6.18_53.1.14.el5xen
( ... 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
[EMAIL PROTECTED] [EMAIL 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
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list