What is the philosophy behind the prioritization of repositories when Ubuntu tries to install or update an app?
As I learned from this answer, when we have the highest version in the repository, the order of repositories in sources.list
file determines the priority. But in the case that repositories have been added to sources.list.d
, which principle will be used fir prioritization?
Also in the case that I want to know the priority using command, I learned from this answer that I can use apt-cache policy
.
sources.list
first, files insources.list.d
later, in lexicographic order. – Olorin Jan 24 '19 at 06:14sources.list.d
, is it right? – Alireza Alipour Jan 24 '19 at 06:39