[Yum] RPM requires tag: installation order in yum?
Werner Fischer
werner.fischer at fh-hagenberg.at
Wed Jan 10 15:31:48 UTC 2007
Hi again,
has anyone an idea on this?
Unfortunately I'm still confused and didn't find and explanation up to
now.
thanks,
Werner
On Fri, 2006-12-29 at 11:50 +0100, Werner Fischer wrote:
> Hi list,
>
> I am a little bit confused on how yum/rpm resolve dependencies
> ("requires" tag) to find the correct installation order of packages.
>
> In this post
> https://lists.dulug.duke.edu/pipermail/yum/2005-September/007485.html
> someone asks about the installation order and gets the answer:
> "The "Requires:" lines only say that after that total rpm transaction
> the requirements are fullfilled, they do not specify any install order.
> For forcing an install order, you should use "Prereq:" i.s.o. "Requires"."
>
> But according to [1] and [2] the "requires" tag do specify an install order
> and "prereq" seems to be obsolete.
>
> So does yum now care about requires in a sense that it looks for the right
> installation order?
>
> Many thanks in advance for your help and thank you for developing yum!
> best regards,
> Werner
>
> [1] http://www.rpm.org/max-rpm-snapshot/s1-rpm-depend-manual-dependencies.html#S3-RPM-DEPEND-PREREQ
> "A plain Requires is _enough to ensure proper installation order_ if
> there are no dependency loops present in the transaction."
>
> [2] http://www.redhat.com/archives/rpm-list/2003-June/msg00173.html
> "Yes, historically the PreReq: had a guarantee of being installed before package that
> has PreReq:, so many packages still use PreReq:. However, this guarantee
> has been extended to Requires:, so the two are synonyms."
>
>
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum
More information about the Yum
mailing list