Re: Yum to install an RPM first

"Rashmi Ranjan Mohanty" <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>

>>> On 1/24/2011 at 12:58 PM, in message
<[email protected]>, renu abraham
<[email protected]> wrote: 
> I have a custom made rpm. I need to install my particular RPM in a list of
> rpms which are part of a program.
> Say I have around 20 patch rpms which needs to be installed I need to
> install this through yum command. My particular RPM namely
> Patch-list.1.1.1.2-1.noarch.rpm needs to be installed as the first rpm in
> the total list of 21 rpms. I can modify my spec files and Makefiles as per
> my wish.
> Can anybody suggest what needs to be changed so that my rpm
> Patch-list.1.1.1.2-1.noarch.rpm will be installed first

You can try prerequires. In the spec file of other 20 rpms, add Prereq for Patch-list
Prerequires are install time dependencies where as requires are run time dependencies.
So rpm honors prerequires and installs them first.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.