If an application is available in multiple repositories added in either /etc/apt/sources.list
or /etc/apt/sources.list.d/
or any other way, how does sudo apt install
determine which repository to use?
Is there some searching order between the added repositories?
Thanks.