[Rpm-maint] Upgrade requirements
Florian Festi
ffesti at redhat.com
Tue Apr 22 14:07:21 UTC 2014
On 04/17/2014 09:05 AM, Shapiro Ben wrote:
> Hi all.
> I've been looking around and trying for some time to create the
> following situation:
> I have an application v3.0 packaged and i have to update lots of clients
> which some have v2.0 installed, some have v1.0. there is major changes
> between the baselines so i want to require from those who have v1.0
> installed, to automatically download and install v2.0 first and just
> then v3.0
> When i use the Required section "Required: app >= 2.0" it still does not
> work. it installs v3.0 over 1.0 without requiring v2.0... Is it possible
> to achieve??
No. RPM does always update to the newest version. The right way to solve
this is to ship the scripts that can update from all versions to the
current one within the newest (and there fore all) package(s).
Florian
More information about the Rpm-maint
mailing list