Hi,
Is there an accepted/allowed method for refusing an upgrade in %pre ?
Say there is a package foo for which we only released version 2.x. An upgrade from 1.x to 2.x would not work due to database migration issues. A third party ships 1.x versions. I would like our 2.x package to refuse to do an upgrade from an 1.x package.
On 07/24/2012 04:23 PM, Paul Wouters wrote:
Hi,
Is there an accepted/allowed method for refusing an upgrade in %pre ?
No (imo), by the time the rpm transaction is started, that's too late.
In cases where upgrades are incompatible, change the pkg name (again, imo, ymmv, yada yada).
-- rex
On 07/24/2012 06:43 PM, Rex Dieter wrote:
On 07/24/2012 04:23 PM, Paul Wouters wrote:
Hi,
Is there an accepted/allowed method for refusing an upgrade in %pre ?
No (imo), by the time the rpm transaction is started, that's too late.
In cases where upgrades are incompatible, change the pkg name (again, imo, ymmv, yada yada).
That's what I thought. Thanks for the confirmation.
Paul
packaging@lists.fedoraproject.org