If a PPA in your sources list has a package of the same name in the Ubuntu Software Center, which one shows up in the software center. Likewise, which package is downloaded via apt-get install ?
Whichever repo has the latest version of the package is the one shown in the Ubuntu Software center and downloaded with
The priorities of package sources is defined in the local package configuration.
Here is an example of what
The numbers in front of the URLs specify the priority. The package from a source with the highest priority is preferred, if there is only one source with this priority.
Newer package of equal priority
If there are multiple entries of the highest priority, as it is the case here, the newer version is preferred.
To change the priorities to prefer a specific version, exceptions rules can be defined in