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

Re: yum whatprovides ??

At 6:09 PM -0500 6/30/07, Jason L Tibbitts III wrote:
>>>>>> "JR" == Jeffrey Ross <jeff bubble org> 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

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 georgeanelson com>
      '                              <http://www.georgeanelson.com/>

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