dnf whatprovides and library files
Matthew Miller
mattdm at fedoraproject.org
Wed Jun 10 01:09:04 UTC 2015
On Wed, Jun 10, 2015 at 07:53:44AM +0800, Ed Greshko wrote:
> For example, on an F22 system....
> [root at f22k ~]# ll /lib64/libXv.so.1.0.0
> -rwxr-xr-x. 1 root root 19664 Aug 17 2014 /lib64/libXv.so.1.0.0
$ file /lib64
/lib64: symbolic link to `usr/lib64'
$ dnf whatprovides /usr/lib64/libXv.so.1.0.0
libXv-1.0.10-2.fc22.x86_64 : X.Org X11 libXv runtime library
Repo : @System
> [egreshko at meimei ~]$ yum -whatprovides /lib64/libXv.so.1.0.0
> Loaded plugins: langpacks
> libXv-1.0.10-2.fc21.x86_64 : X.Org X11 libXv runtime library
> Repo : installed
> Matched from:
> Filename : /lib64/libXv.so.1.0.0
>
> (dnf fails to find on F21 in the same manner)
The difference is documented (although lib is not mentioned) at:
http://dnf.readthedocs.org/en/latest/cli_vs_yum.html#dnf-provides-bin-file-does-not-find-any-packages-on-fedora
--
Matthew Miller
<mattdm at fedoraproject.org>
Fedora Project Leader
More information about the users
mailing list