Re: yum repo precedence and autoselection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2007-08-07 at 13:42 -0700, Skahan, Vince wrote:
> If I have multiple repositories with different rpms that provide the
> same item (ie, Provides: foo), how does yum calculate which rpm is the
> one it should autoselect if you have another rpm that "Requires: foo" ?
> 
> Example:
>  - if you had repo A with rpm aaa-0.1-1.noarch.rpm
>  - and repo B containing bbb-0.1-1.noarch.rpm
>  - and repo C containing ccc-0.1-1.noarch.rpm
>  - and all three rpms had the same Provides: foo defined
>  - which rpm gets autoselected if your package list Requires: foo ?
> 

aaa will win b/c of shortest/first sorted name. b/c everything else is
completely equal.

> I'm assuming there's some unwritten law of rpms saying "no two rpms
> should claim to provide the same thing", but regardless how does yum
> figure out what to autoselect under the hood when it parses the various
> enabled repositories ?

if you want to sort your repos via internal precedence you could look at
yum priorities plugin - but it won't help where 3 pkgs of different name
provide the same thing, I don't think.

-sv




_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux