[opensuse] What happens if I rerun the vendor change?
I ran '$sudo zypper dup --from packman-essentials --allow-vendor-change' after adding 'packman' repository. But, the network issue occurred, so I 'ctrl-c'ed and then re-ran the command after fixing my internet. But what happens if I re-rerun that command without '--from' option? I mean just '$sudo zypper dup --allow-vendor-change'? Will it come to the main repository again or no-effect? OS: OpenSuSe Leap 15.2, fresh install -- Regards, W.H.Jeon -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 15/07/2020 12.46, WooHyung Jeon wrote:
I ran '$sudo zypper dup --from packman-essentials --allow-vendor-change' after adding 'packman' repository. But, the network issue occurred, so I 'ctrl-c'ed and then re-ran the command after fixing my internet. But what happens if I re-rerun that command without '--from' option? I mean just '$sudo zypper dup --allow-vendor-change'? Will it come to the main repository again or no-effect?
OS: OpenSuSe Leap 15.2, fresh install
Without " --from packman-essentials" will install from default repos, according to version numbers and priorities. You probably want to repeat the original command instead. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)
2020-07-15 오후 8:02에 Carlos E. R. 이(가) 쓴 글:
On 15/07/2020 12.46, WooHyung Jeon wrote:
I ran '$sudo zypper dup --from packman-essentials --allow-vendor-change' after adding 'packman' repository. But, the network issue occurred, so I 'ctrl-c'ed and then re-ran the command after fixing my internet. But what happens if I re-rerun that command without '--from' option? I mean just '$sudo zypper dup --allow-vendor-change'? Will it come to the main repository again or no-effect?
OS: OpenSuSe Leap 15.2, fresh install
Without " --from packman-essentials" will install from default repos, according to version numbers and priorities. You probably want to repeat the original command instead.
Great! Thanks! -- Regards, W.H.Jeon -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/15/2020 05:46 AM, WooHyung Jeon wrote:
I ran '$sudo zypper dup --from packman-essentials --allow-vendor-change' after adding 'packman' repository. But, the network issue occurred, so I 'ctrl-c'ed and then re-ran the command after fixing my internet. But what happens if I re-rerun that command without '--from' option? I mean just '$sudo zypper dup --allow-vendor-change'? Will it come to the main repository again or no-effect?
You have to be judicious with --allow-vendor-change. Ideally you are sufficiently familiar with the package(s) you are allowing the vendor change to. Even then there can be unintended consequences with package pulled in as "recommends" from the new source that may be linked against different library versions, etc.. Before zypper, repository priority was used to essentially allow the vendor choice (to a varying degree), but then beginning sometime around the 10.x timeframe --allow-vendor-change took on a bigger roll. and by the end of 12 or so, you were outright cautioned in zypp.conf not to change the default for --allow-vendor-change unless you know what it is you are doing. When you change to packman-essentials (which is fine) and a network problem pops up, you have to chase down what the offending package was and fix the issue (which it sounds like you have done). Once you have the packages installed from the desired vendor and your system working the way you want it to, simply remove the --from and --allow-vendor-change and update as usual. Zypper is smart enough to maintain the vendor choices you have made with subsequent updates. There can always be exceptions to the rule, but I haven't run into any lately. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Carlos E. R.
-
David C. Rankin
-
WooHyung Jeon