On Tue, Mar 21, 2017 at 9:51 AM, jan matejek
hello,
what will happen if a packageA has something like: Provides: packageB = %version-%release Obsoletes: packageB < %version-%release Conflicts: packageB < %version-%release
will zypper use it to upgrade from packageB to packageA? will the Conflicts clause ensure that packageB is completely removed before installing packageA? will something else happen? will nothing at all happen?
What I'm actually after is the second question - making sure that in an upgrade, packageB is completely removed, %postun scriptlets and all, before even starting to install packageA.
Is a Conflics clause a way to ensure that? Are there any (other) options?
It will work, as long as packageB never gets built to go above. But no, it doesn't affect transaction ordering. It works the same way as if it's just a normal upgrade, it just happens to be packageB -> packageA instead. -- 真実はいつも一つ!/ Always, there's only one truth! -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org