dnf whatprovides and library files

Ed Greshko ed.greshko at greshko.com
Wed Jun 10 08:42:54 UTC 2015


On 06/10/15 16:20, Radek Holy wrote:
> BTW, RPM can do that:
>
> $ rpm --query --file /lib64/libXv.so.1.0.0
>
> So, if RPM tracks these symlinks and if it provides an API to get this information, DNF could do the magic at least for the installed packages. But maybe it could become even more confusing for users since "whatprovides" would sometimes find the package and sometimes not depending on whether the package is installed or not. Maybe printing a warning would be sufficient...

Yes, rpm can tell you this *if* the file and providing package exists on your system.  But, it is usual that you get a message about something missing and that is where you need dnf.


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


More information about the users mailing list