Re: how to define package install order in a yum group
James Antill <[email protected]> Mon, 04 Aug 2014 11:53:14 -0400
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
Ervin Yan <[email protected]> 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 -- [email protected]