[CentOS] How does yum decide when 2 packages meet a dependency?

Fri Jul 21 15:50:41 UTC 2017
Matthew Miller <mattdm at mattdm.org>

On Fri, Jul 21, 2017 at 04:19:20PM +0100, Phil Perry wrote:
> Say a package has a dependency for libfoo.so.1, and 2 (or more)
> packages provide libfoo.so.1, how does yum decide which package to
> install to meet the dependency?

It has a series of heuristics:

http://yum.baseurl.org/wiki/CompareProviders



-- 
Matthew Miller
<mattdm at fedoraproject.org>
Fedora Project Leader