Sample Header Ad - 728x90

zypper - is there an option like --allowerasing for yum?

1 vote
1 answer
140 views
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.
Asked by eftshift0 (707 rep)
Mar 5, 2024, 10:00 AM
Last activity: Mar 5, 2024, 10:59 AM