This question already has an answer here:
Let say I have a PPA for a software (i.e. Blender for example; http://ppa.launchpad.net/thomas-schiex/blender/ubuntu ) that contains for some reasons, a Python3.6 version.
What I want to achieve:
Let say I want "a better" Python3.6 package, for example from a python dedicated ppa, in my case; http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu
apt chose which package to install and is there a way I can tell
apt to install it from one desired ppa upon the others?
I guess it will chose the most up-to-date package (am I wrong?), but what if for some reasons I want to keep a specific older version?
The example with python3.6 is "only" an example here, this may be useful for any packages.
Note about the dupplicate:
Even if the answer in the suggested links in the comments are the same, the entry points, i.e. "the question" is note exactly the same and lots of people may come to the answer through this search result instead of the other. So, in my humble opinion and strictly speaking, the answer is somewhat a dupplicate, not the question.