zypper R the stats pack

OK,
I installed R using zypper some time back, but then I read that I should have used a specific repository called Rpatched.

So (note order) I added the repository, then remove R (called R-base) and then proceeded to install the package.

Clearly in my repository list there is more than one source of R.

Should I have removed the package first and then add the new repository?

How in fact does zypper deal with different repositories when they all have the same package? I expect it might choose the most recent version.
But what happens when the packages are patched? How doe si tidetermine the best version of the package to use?

On 2010-07-05 19:16 GMT stabu wrote:

> How in fact does zypper deal with different repositories when they all
> have the same package? I expect it might choose the most recent
> version.

No.

It is based first on the priority of the repo, and if two repos have
the same priority, then the newest version of the package.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Minas Tirith))