Re: Yum Digest, Vol 90, Issue 4
renu abraham <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
Thanks for your reply. Of all the 21 RPMS I have the control of editing the spec file of only one RPM, remaining all are the patch rpms downloaded. My Patch-list.1.1.1.2-1.noarch.rpm will take the backup of all the .conf file before the installation of patches. thats the reason which I need to install this RPM in the first On Tue, Jan 25, 2011 at 5:30 PM, <[email protected]> wrote: > Send Yum mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.baseurl.org/mailman/listinfo/yum > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Yum digest..." > > > Today's Topics: > > 1. Re: Yum to install an RPM first (James Antill) > 2. delete my email (andrea) > 3. Re: Yum to install an RPM first (Rashmi Ranjan Mohanty) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 24 Jan 2011 11:00:17 -0500 > From: James Antill <[email protected]> > To: "Yellowdog Updater, Modified" <[email protected]> > Subject: Re: [Yum] Yum to install an RPM first > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > renu abraham <[email protected]> writes: > > > 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 > > Transaction ordering is done by rpm, the very latest version of rpm > 4.9.0 has support to hint on changes to the ordering within > specfiles. However AIUI it doesn't help your case. > > -- > James Antill -- [email protected] > > > ------------------------------ > > Message: 2 > Date: Mon, 24 Jan 2011 19:39:07 +0100 > From: andrea <[email protected]> > To: [email protected] > Subject: [Yum] delete my email > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-15"; Format="flowed" > > > -- > Saluti. > Andrea Stravino > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.baseurl.org/pipermail/yum/attachments/20110124/463edd42/attachment-0001.html > > > > ------------------------------ > > Message: 3 > Date: Mon, 24 Jan 2011 20:56:07 -0700 > From: "Rashmi Ranjan Mohanty" <[email protected]> > To: <[email protected]> > Subject: Re: [Yum] Yum to install an RPM first > Message-ID: <[email protected]> > Content-Type: text/plain; charset=US-ASCII > > > > >>> 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. > > > > > ------------------------------ > > _______________________________________________ > Yum mailing list > [email protected] > http://lists.baseurl.org/mailman/listinfo/yum > > > End of Yum Digest, Vol 90, Issue 4 > ********************************** > _______________________________________________ Yum mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum