yum whatprovides ??

Michael Schwendt mschwendt at gmail.com
Sun Jul 1 09:24:52 UTC 2007


On 01/07/07, Tony Nelson wrote:
> >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'.

No package "Provides: stddef.h".

So if Yum on FC6 returns package names when running "yum whatprovides
stddef.h", this can only mean that it adds '*' wildcards to match
against all file paths that somehow are related to the string
"stddef.h". That sounds weird.

With F7 one certainly needs to use "*stddef.h" or else gets no results.




More information about the fedora-list mailing list