Re: yum whatprovides ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 6:09 PM -0500 6/30/07, Jason L Tibbitts III wrote:
>>>>>> "JR" == Jeffrey Ross <jeff@xxxxxxxxxx> writes:
>
>JR> I tried using the command "yum whatprovides stddef.h" to locate
>JR> the include library last night.  Yum when through its process and
>JR> came up with nothing in a fairly short order.
>
>Which is not surprising since there is no package which provides
>"state's.h".

What does "'states.h'" have to do with "stddef.h"?

>However, the kernel-headers package provides
>/usr/include/linux/stddef.h; you simply need to give a full path to
>the file you're trying to find.

I've seen this wrong answer twice now, and also the correct answer that one
does not need to provide a full path.  If only the filename is given, all
the packages that provide stddef.h in any location are found; if the full
path, only packages that provide it exactly there are found.  This is on
FC6; some report that on F7 it is necessary to say '*stddef.h'.

If yum is providing the answer quickly, it may well be that you ran it as a
normal user (as suggested by another), and thus from the cache.  Run it as
root and yum will be able to download the filelist info.
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux