[Rpm-maint] RPM chain installing

aneeskA aneeska2k5 at gmail.com
Thu May 8 16:21:21 UTC 2008

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)

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.

   Your thoughts on this. I am desperate for a solution.

-- anees

On Thu, May 8, 2008 at 9:35 PM, devzero2000 <pinto.elia at gmail.com> wrote:

> I have not understood the question. Perhaps it is my fault.
> The order of installation of the RPM packages is defined from the
> dependencies
> - file and package - that are defined in the rpm(s). The task of the
> resolver of the dependencies - rpm, yum, smart ecc-
> are that to construct an direct graph of these  dependencies for
> installing/updating the package in that order.
> Naturally the dependencies must be defined in explicit (e.g. Requires: in
> the SPEC ) or implicit (e.g. shared lib) way
> in the rpm.
> So, what is the problem you are trying to solve ?
> Best Regards
> On Thu, May 8, 2008 at 5:37 PM, aneeskA <aneeska2k5 at gmail.com> wrote:
> > Hi all,
> >
> >     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.
> >
> >    Any thoughts ?
> >
> > Regards
> > -- anees
> >
> > _______________________________________________
> > Rpm-maint mailing list
> > Rpm-maint at lists.rpm.org
> > https://lists.rpm.org/mailman/listinfo/rpm-maint
> >
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rpm.org/pipermail/rpm-maint/attachments/20080508/37f2249f/attachment-0001.htm 

More information about the Rpm-maint mailing list