Phil Perry
2017-Jul-21 15:19 UTC
[CentOS] How does yum decide when 2 packages meet a dependency?
Hi list, 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?
Matthew Miller
2017-Jul-21 15:50 UTC
[CentOS] How does yum decide when 2 packages meet a dependency?
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
John Hodrien
2017-Jul-21 16:00 UTC
[CentOS] How does yum decide when 2 packages meet a dependency?
On Fri, 21 Jul 2017, Matthew Miller wrote:> 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/CompareProvidersThat's fabulous. You mean Phil could have fixed my issue by renaming the package priiiiiimus so that the name was longer than mesa-libGL ;) jh
Seemingly Similar Threads
- How does yum decide when 2 packages meet a dependency?
- How does yum decide when 2 packages meet a dependency?
- How does yum decide when 2 packages meet a dependency?
- [PATCH 0/4] rpm: Choose providers better (RHBZ#1266918).
- [PATCH v2] rpm: Choose providers better (RHBZ#1266918).