[EMAIL PROTECTED] OpenAFS]#   rpm -q --provides
kernel-smp-devel-2.6.15-1.2054_FC5
package kernel-smp-devel-2.6.15-1.2054_FC5 is not installed

but:

[EMAIL PROTECTED] OpenAFS]#   rpm -q --provides kernel-devel-2.6.15-1.2054_FC5 
kernel-devel-i686 = 2.6.15-1.2054_FC5
kernel-devel = 2.6.15-1.2054_FC5



>>> Derek Atkins <[EMAIL PROTECTED]> 02/26/07 5:39 PM >>>
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 <[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
>> 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
>       [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-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to