RPM requires tag: installation order in yum?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux