The one problem I have with that approach is that it gives me a long chain of interactive prompts with only one option - could be a bug? tracked in https://bugzilla.opensuse.org/show_bug.cgi?id=1017486 In this case it is not a bug.
You asked for "--no-allow-vendor-change". The only solution is a vendor change. Zypper asks if it is alllowed to use this solution (because you explicitly requested it not to). but then when I would omit the option, I get a lot of unwanted vendor changes... The most sane scriptable option atm is calling zypper in -f $packagename for each affected package.
It would be better, if zypper dup asked 1 question instead of 37. And it would be even better, if this could be scripted, e.g.
zypper -n dup --no-allow-vendor-change --except-where-needed
because I want to be able to manage my 100 machines with zypper and doing manual work is not an option for that.
You could try this: yes 1 | zypper dup -y --no-allow-vendor-change -- Aleksa Sarai Software Engineer (Containers) SUSE Linux GmbH https://www.cyphar.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org