Actually, this does look like a bug in the SPECfile.  Try the attached
patch.  I've bcc'd to openafs-bugs to try to get this patch upstream.
Back in October 2006 I fixed it for all the different kernels EXCEPT
I seemed to have missed SMP.  OOPS.

-derek

Quoting Ron Croonenberg <[EMAIL PROTECTED]>:

But when I do this...

[EMAIL PROTECTED] OpenAFS]# rpm -q --provides kernel-smp-2.6.15-1.2054_FC5
kernel = 2.6.15
kernel-drm = 4.3.0
kernel-i686 = 2.6.15-1.2054_FC5smp
kernel-smp = 2.6.15-1.2054_FC5

And this is just a "straight out of the box" installation using the
distro from  fedora.redhat.com

Derek Atkins <[EMAIL PROTECTED]> 02/26/07 4:39 PM >>>
What do you get from:

 rpm -q --provides kernel-smp-2.6.15-1.2054_FC5smp

-derek

Ron Croonenberg <[EMAIL PROTECTED]> writes:

I am installing OpenAFS for FC5

When I try to install the OpenAFS kernel module this happens:

[EMAIL PROTECTED] OpenAFS]# uname -r
2.6.15-1.2054_FC5smp

So I want to use this pre-compiled  kernel module,  right ?
openafs-kernel-smp-1.4.2-2.6.15_1.2054_FC5smp_1.i686.rpm


[EMAIL PROTECTED] OpenAFS]# rpm -ivh
openafs-kernel-smp-1.4.2-2.6.15_1.2054_FC5smp_1.i686.rpm

error: Failed dependencies:
        kernel-smp-i686 = 2.6.15-1.2054_FC5 is needed by
openafs-kernel-smp-1.4.2-2.6.15_1.2054_FC5smp_1.i686

any ideas ?
thanks,

Ron

_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info



--
      Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
      Member, MIT Student Information Processing Board  (SIPB)
      URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
      [EMAIL PROTECTED]                        PGP key available





--
      Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
      Member, MIT Student Information Processing Board  (SIPB)
      URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
      [EMAIL PROTECTED]                        PGP key available

--- openafs/openafs.spec	2006/10/18 02:12:57	1.81
+++ openafs/openafs.spec	2007/02/26 22:56:37	1.82
@@ -1,4 +1,4 @@
-# Openafs Spec $Revision: 1.81 $
+# Openafs Spec $Revision: 1.82 $
 
 %define afsvers 1.4.2
 %define pkgvers 1.4.2
@@ -472,7 +472,7 @@
 Group: Networking/Filesystems
 Provides: openafs-kernel = %{PACKAGE_VERSION}
 %if %{kprovidesarch}
-Requires: kernel-smp-%{_target_cpu} = %{kernvers}
+Requires: kernel-%{_target_cpu} = %{kernvers}
 %else
 Requires: /boot/config-%{kernvers}%{?smp_ext:%{smp_ext}}
 %endif
@@ -1457,6 +1457,10 @@
 ###
 ##############################################################################
 %changelog
+* Mon Feb 26 2007 Derek Atkins <[EMAIL PROTECTED]>
+- I missed the SMP architecture from the Oct 17 2006 patch so the SMP
+  kernel modules were still incorrect.
+
 * Tue Oct 17 2006 Derek Atkins <[EMAIL PROTECTED]>
 - kernel RPM architectures provide kernel-<target_cpu> = <full_kernel_version>
   so the existing 'requires' lines were incorrect for SMP and other non-UP

Reply via email to