Carlos E. R. wrote:
On 2015-07-14 05:27, Jimmy Berry wrote:
As others have said repo priorities are key.
- Something like packman which has numerous packages with the same names as factory, but which are compiled with more features and thus you want to replace should be lower priority (which wins). - Repositories you add for one-off packages not in main Tumleweed/Factory should be higher priority (lose to factory packages) since you only want a particular package not present in Factory and any dependencies can come from Factory.
The problem is that when using dup, anything in those extra repos will replace whatever comes from the main repo. Not only the single package that you may want.
Which is why "SOLVER_FLAG_DUP_ALLOW_VENDORCHANGE=0" is so interesting...
"The problem is that when using dup, anything in those extra repos
will replace whatever comes from the main repo."
That is definitely not what happens. I do this all the time.
The repository switch is allowed by dup, but unless packages
explicitly depend on the same version and build number they will not
switch to a larger priority repository. If the requirement is explicit
(like devel package) then it behaves as you would expect.
Thus the priority method works excellently and behaves as expected.
Lower if you want to force the switch and higher to only grab packages
that it cannot find in lower repos.
--
Jimmy
On Tue, Jul 14, 2015 at 2:50 PM, Archie Cobbs
On Tue, Jul 14, 2015 at 12:02 PM, Andrei Borzenkov
wrote: OLD: zypper dup ... NEW: zypper up --allow-vendor-changes --recommends ...
How is arguing about "zypper up" vs. ""zypper up --allow-vendor-changes" is better than arguing about "zypper up" vs. "zypper dup"?
Stopping people from arguing is not the goal (that's impossible).
The goal is simply to eliminate a source of confusion that has historically increased the amount of arguing.
-Archie
-- Archie L. Cobbs -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org