[Yum] how to define package install order in a yum group
James Antill
james-yum at and.org
Mon Aug 4 15:53:14 UTC 2014
Ervin Yan <Ervin_Yan at symantec.com> writes:
> Hi, Yum team:
>
> Recently, I am working to create a yum group to install my product packages on RHEL, and already have the package group working with yum.
>
> But, I met a new issue that there are 1 rpm package need be installed as the last one.
>
> Also I could not define dependencies for this rpm package to all the packages in this group since this package need be installed as part of another group as well.
>
> Could anyone have ideas how I can define the package install order in the yum group?
You can use the rpm feature OrderWithRequires ... this works the same
way as Requires, but it doesn't require the packages it only affects
the install order if they are in the same transaction (if foo requires
bar, then bar must be installed before foo in a transaction).
That was added in rpm-4.9.
--
James Antill -- james at and.org
More information about the Yum
mailing list