[OpenAFS] little install problem...

Derek Atkins warlord@MIT.EDU
Mon, 26 Feb 2007 17:39:28 -0500


Unfortunately I don't know what SPEC file was used to build the code.
The SPEC file in MY code basically does:

%if %{kprovidesarch}
Requires: kernel-smp-%{_target_cpu} = %{kernvers}
%else
Requires: /boot/config-%{kernvers}%{?smp_ext:%{smp_ext}}
%endif

Where kprovidesarch runs the following code:

  kernelrpm=`rpm -qf "$2"`
  if [ -n "$kernelrpm" ]; then
    if rpm -q --provides "$kernelrpm" |egrep -q "^kernel(|-devel)-$3 "; then
      echo 1
      exit 1
    fi
  fi

where "$2" is the kernel source dir, and $3 is the target cpu type.
So, what do you get from:

  rpm -q --provides kernel-smp-devel-2.6.15-1.2054_FC5

-derek

Quoting Ron Croonenberg <ronc@depauw.edu>:

> But when I do this...
>
> [root@lore 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 <warlord@MIT.EDU> 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 <ronc@depauw.edu> writes:
>
>> I am installing OpenAFS for FC5
>>
>> When I try to install the OpenAFS kernel module this happens:
>>
>> [root@lore 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
>>
>>
>> [root@lore 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
>> OpenAFS-info@openafs.org
>> 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
>       warlord@MIT.EDU                        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
       warlord@MIT.EDU                        PGP key available