I am asking to install a package B that is replacing (and conflicting with) another package A. In order to do it without user input, in yum I use --allowerasing. Is there an option like that for zypper? The user is getting this message from zypper:
Resolving package dependencies... Problem: the to be installed B-some-version.x86_64 conflicts with 'A' provided by the installed A-some-other-version.x86_64 Solution 1: deinstallation of A-some-other-version.x86_64 Solution 2: do not install B-some-version.x86_64 Choose from above solutions by number or cancel [1/2/c/d/?] (c): I tried with --force which made no difference and I want it to go with option 1.