Hi,
I have this package, foo-1.0, which provides /usr/bin/foo.
Then, I want to have foo-2.0 and bar-2.0 and make bar-2.0 provide /usr/bin/foo. At the same time, I make foo-2.0 require bar-2.0.
However, if I do:
zypper install foo-1.0
zypper install foo-2.0
zypper install --old-version foo-1.0
I get this error that the file /usr/bin/foo creates a conflict between foo-1.0 and bar-2.0. If I go on with the installation, I end up having foo-1.0 and bar-2.0 installed.
Then, if I do
zypper install foo-2.0
I will get foo-2.0 installed, bar-2.0 remains (no new install) and foo-1.0 gets removed. However, the latest, removing foo-1.0, causes /usr/bin/foo to be removed as well!
Thus, I end up having foo-2.0, bar-2.0 but no /usr/bin/foo
How could I make installing foo-1.0 remove bar-2.0? So all this works?
thanks in advance
jordi
PD: substitute foo by docker, bar by docker-libnetwork, and /usr/bin/foo by /usr/bin/docker-proxy ;)
On Sep 27 2017, Jordi Massaguer Pla jmassaguerpla@suse.de wrote:
How could I make installing foo-1.0 remove bar-2.0? So all this works?
bar-2.0 should have a conflict with foo < 2.0.
Andreas.