[opensuse-packaging] moving a binary from foo to bar package
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 ;) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Sep 27 2017, Jordi Massaguer Pla
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. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Andreas Schwab
-
Jordi Massaguer Pla