On Wednesday 2017-03-22 04:21, Andrei Borzenkov wrote:
22.03.2017 01:09, Jan Engelhardt пишет:
On Tuesday 2017-03-21 15:04, Andrei Borzenkov wrote:
Does RPM has something like "Conflicts(pre)" (to match "Requires(pre)")?
Of course not, that would be totally redundant.
Normally during update first new version is installed then old version is removed. The question (that you helpfully did not include in your quote) was - is it possible to reverse this, first completely removing old version (which happens to be different package now) before installing new. Does you answer mean that RPM does it already in this case?
Requires(pre): X says that X must be present before %pre is executed. However, Conflicts: X is a clear contradiction to that existence (at any time!), and so there is already an order imposed on the transaction. Whether the implementation gets it right is another thing.. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org