If the problem is this, well, perhaps this isn't the right mailing list.<br><br>Regards<br><br><div class="gmail_quote">On Sat, May 10, 2008 at 12:09 PM, Jim Lynch <<a href="mailto:jimlynch1@gmail.com">jimlynch1@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">When I have to do this, I use yum.<br><br>yum localinstall a.rpm b.rpm c.rpm d.rpm etc.<br>
<font color="#888888"><br>Jim.</font><div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Fri, May 9, 2008 at 10:40 AM, devzero2000 <<a href="mailto:pinto.elia@gmail.com" target="_blank">pinto.elia@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I have named the package as ordering-<letter>. <br>But It work for me - see below. I have used only requires dependency.<br>
<br>SPEC included<br><br>Sure, if you use <br><br>rpm -Uvh ordering-E it doesn't work.<br>
<br>But<br><br>rpm -Uvh ordering-E-1.1-3.noarch.rpm ordering-C-1.1-3.noarch.rpm ordering-B-1.1-3.noarch.rpm ordering-D-1.1-3.noarch.rpm ordering-A-1.1-3.noarch.rpm<br>Preparazione in corso... ########################################### [100%]<br>
1:ordering-C ########################################### [ 20%]<br> 2:ordering-D ########################################### [ 40%]<br> 3:ordering-B ########################################### [ 60%]<br>
4:ordering-A ########################################### [ 80%]<br> 5:ordering-E ########################################### [100%]<br><br>Yes<br><br>Tested with rpm >= 4.3.3 RHEL4,5, and rpm5<br>
<br>I hope to have understood your requirement<br><br>Best regards<br><br>******************************************<br><br>yum install ordering-E<br><br><font size="1">Loading "installonlyn" plugin<br>Setting up Install Process<br>
Setting up repositories<br>Reading repository metadata in from local files<br>Parsing package install arguments<br>Resolving Dependencies<br>--> Populating transaction set with selected packages. Please wait.<br>---> Package ordering-E.noarch 0:1.1-3 set to be updated<br>
--> Running transaction check<br>--> Processing Dependency: ordering-A for package: ordering-E<br>--> Processing Dependency: ordering-B for package: ordering-E<br>--> Processing Dependency: ordering-C for package: ordering-E<br>
--> Processing Dependency: ordering-D for package: ordering-E<br>--> Restarting Dependency Resolution with new changes.<br>--> Populating transaction set with selected packages. Please wait.<br>---> Package ordering-A.noarch 0:1.1-3 set to be updated<br>
---> Package ordering-D.noarch 0:1.1-3 set to be updated<br>---> Package ordering-C.noarch 0:1.1-3 set to be updated<br>---> Package ordering-B.noarch 0:1.1-3 set to be updated<br>--> Running transaction check<br>
<br>Dependencies Resolved<br><br>=============================================================================<br> Package Arch Version Repository Size<br>=============================================================================<br>
Installing:<br> ordering-E noarch 1.1-3 DSSS 2.0 k<br>Installing for dependencies:<br> ordering-A noarch 1.1-3 DSSS 2.0 k<br> ordering-B noarch 1.1-3 DSSS 2.0 k<br>
ordering-C noarch 1.1-3 DSSS 2.0 k<br> ordering-D noarch 1.1-3 DSSS 2.0 k<br><br>Transaction Summary<br>=============================================================================<br>
Install 5 Package(s)<br>Update 0 Package(s)<br>Remove 0 Package(s)<br><br>Total download size: 10 k<br>Is this ok [y/N]: y<br>Downloading Packages:<br>(1/1): ordering-D-1.1-3.n 100% |=========================| 2.0 kB 00:00<br>
Running Transaction Test<br>Finished Transaction Test<br>Transaction Test Succeeded<br>Running Transaction<br> Installing: ordering-D ######################### [1/5]<br> Installing: ordering-C ######################### [2/5]<br>
Installing: ordering-A ######################### [3/5]<br> Installing: ordering-B ######################### [4/5]<br> Installing: ordering-E ######################### [5/5]<br>
<br>Installed: ordering-E.noarch 0:1.1-3<br>Dependency Installed: ordering-A.noarch 0:1.1-3 ordering-B.noarch 0:1.1-3 ordering-C.noarch 0:1.1-3 ordering-D.noarch 0:1.1-3<br>Complete!<br></font><div><div></div><div>
<br><br><div class="gmail_quote">
On Thu, May 8, 2008 at 6:21 PM, aneeskA <<a href="mailto:aneeska2k5@gmail.com" target="_blank">aneeska2k5@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ok. I'll try to explain my situation more clearly. Say I have 5 RPMS named A, B, C, D and E. They are dependent on each other like this-> B on A, C on B and A, D on C, B and A and E on D, C, B and A. I have defined this in spec file using 'PreReq' tag (I donno if this is correct. but if I try to install C before A and B, he will complain their absence. That much I know)<br>
<br>Now I am looking for a way in which before installing A, B, C and E, if I try to install E, he must install the dependent RPMs if they are available locally automatically.<br><br> Your thoughts on this. I am desperate for a solution.<br>
<br>Regards<br>-- anees<div><div></div><div><br><br><div class="gmail_quote">On Thu, May 8, 2008 at 9:35 PM, devzero2000 <<a href="mailto:pinto.elia@gmail.com" target="_blank">pinto.elia@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have not understood the question. Perhaps it is my fault.<br><br>The order of installation of the RPM packages is defined from the dependencies<br>- file and package - that are defined in the rpm(s). The task of the resolver of the dependencies - rpm, yum, smart ecc-<br>
are that to construct an direct graph of these dependencies for installing/updating the package in that order.<br><br>Naturally the dependencies must be defined in explicit (e.g. Requires: in the SPEC ) or implicit (e.g. shared lib) way<br>
in the rpm.<br><br>So, what is the problem you are trying to solve ?<br><br>Best Regards<br><br><div class="gmail_quote"><div><div></div><div>On Thu, May 8, 2008 at 5:37 PM, aneeskA <<a href="mailto:aneeska2k5@gmail.com" target="_blank">aneeska2k5@gmail.com</a>> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>Hi all,<br><br> Here is the situation. I have with me 10 RPMs (which I have created). Also they are dependent on one another like for example if I have RPMs named A, B, C, ... J and they are dependent in that order (B is dependent on A, C on B and A, D on A, B and C and so on). Then how can i install them in that order by another RPM ( or something like that) in which I say install these RPM in that order. Or can I provide the list of RPM in a file so that the order of installation is taken from that file ? Basically I am looking for a way to install those RPMs in a specified order.<br>
<br> Any thoughts ?<br><br>Regards<br>-- anees<br>
<br></div></div>_______________________________________________<br>
Rpm-maint mailing list<br>
<a href="mailto:Rpm-maint@lists.rpm.org" target="_blank">Rpm-maint@lists.rpm.org</a><br>
<a href="https://lists.rpm.org/mailman/listinfo/rpm-maint" target="_blank">https://lists.rpm.org/mailman/listinfo/rpm-maint</a><br>
<br></blockquote></div><br>
</blockquote></div><br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Rpm-maint mailing list<br>
<a href="mailto:Rpm-maint@lists.rpm.org" target="_blank">Rpm-maint@lists.rpm.org</a><br>
<a href="https://lists.rpm.org/mailman/listinfo/rpm-maint" target="_blank">https://lists.rpm.org/mailman/listinfo/rpm-maint</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Rpm-maint mailing list<br>
<a href="mailto:Rpm-maint@lists.rpm.org">Rpm-maint@lists.rpm.org</a><br>
<a href="https://lists.rpm.org/mailman/listinfo/rpm-maint" target="_blank">https://lists.rpm.org/mailman/listinfo/rpm-maint</a><br>
<br></blockquote></div><br>