On Tue, Jan 25, 2011 at 5:30 PM, <yum-request@xxxxxxxxxxxxxxxxx> wrote:
Send Yum mailing list submissions to
yum@xxxxxxxxxxxxxxxxx
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
yum-request@xxxxxxxxxxxxxxxxx
You can reach the person managing the list at
yum-owner@xxxxxxxxxxxxxxxxx
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 <james-yum@xxxxxxx>
To: "Yellowdog Updater, Modified" <yum@xxxxxxxxxxxxxxxxx>
Subject: Re: Yum to install an RPM first
Message-ID: <m362teqoku.fsf@xxxxxxxxxxxx>
Content-Type: text/plain; charset=us-ascii
renu abraham <ace.renu@xxxxxxxxx> 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 -- james@xxxxxxx
------------------------------
Message: 2
Date: Mon, 24 Jan 2011 19:39:07 +0100
From: andrea <andrea.andrea1@xxxxxxxxx>
To: Yum@xxxxxxxxxxxxxxxxx
Subject: delete my email
Message-ID: <4D3DC74B.3050006@xxxxxxxxx>
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" <mrashmiranjan@xxxxxxxxxx>
To: <yum@xxxxxxxxxxxxxxxxx>
Subject: Re: Yum to install an RPM first
Message-ID: <4D3E972F0200004E00067FB5@xxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset=US-ASCII
>>> 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
End of Yum Digest, Vol 90, Issue 4
**********************************
_______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxx http://lists.baseurl.org/mailman/listinfo/yum