dnf whatprovides and library files

Ed Greshko ed.greshko at greshko.com
Tue Jun 9 23:53:44 UTC 2015


I can't seem to get dnf to tell me what package supplies a library.

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

[root at f22k ~]# dnf whatprovides /lib64/libXv.so.1.0.0
Last metadata expiration check performed 0:26:25 ago on Wed Jun 10 07:23:47 2015.
Error: No Matches found

On an F21 system

[egreshko at meimei ~]$ ll /lib64/libXv.so.1.0.0
-rwxr-xr-x. 1 root root 19664 Aug 17  2014 /lib64/libXv.so.1.0.0

[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)

Yet on F22 a whatprovides for an uninstalled binary works...

[root at f22k ~]# dnf whatprovides /usr/bin/remmina
Last metadata expiration check performed 0:28:57 ago on Wed Jun 10 07:23:47 2015.
remmina-1.2.0-0.5.git.b3237e8.fc22.x86_64 : Remote Desktop Client
Repo        : fedora

What can I do to get "whatprovides" to work consistently?


-- 
Sorta what I want to say when folks habitually complain about Fedora - https://youtu.be/ZArl8fTfub4



More information about the users mailing list