refuse an upgrade?
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. -- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging |
refuse an upgrade?
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 -- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging |
refuse an upgrade?
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 mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging |
| All times are GMT. The time now is 04:52 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.