dnf whatprovides and library files

Ed Greshko ed.greshko at greshko.com
Wed Jun 10 01:26:36 UTC 2015


On 06/10/15 09:09, Matthew Miller wrote:
> 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
>
Thanks.... 

I wonder why they left it up to the user to determine symbolic links are involved and not followed.  Oh, well.

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


More information about the users mailing list