Re: Yum to install an RPM first

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




>>> On 1/24/2011 at 12:58 PM, in message
<AANLkTikdVpCx03LCM7uNoGVzCqxTYLniih0E1-znYVN-@xxxxxxxxxxxxxx>, renu abraham
<ace.renu@xxxxxxxxx> 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.


_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux