rpm  4.5
tsort
Go to the documentation of this file.
1 
119  pango-gtkbeta-devel pango-gtkbeta
120  XFree86 Mesa
121  compat-glibc db2
122  compat-glibc db1
123  pam initscripts
124  kernel initscripts
125  initscripts sysklogd
126  /* 6.2 */
127  egcs-c++ libstdc++
128  /* 6.1 */
129  pilot-link-devel pilot-link
130  /* 5.2 */
131  pam pamconfig
132 \endverbatim
133 
134 Why are there new loops? Because tsort is trying to use all of the
135 dependency relations for ordering, while the previous tsort ignored all
136 Requires: from added packages.
137 
138 Except for the "well known" libtermcap <-> bash loop (which is just wrong),
139 all of the other dependencies are simply not needed in an upgrade context
140 to perform package ordering. Please note that all of the known to cause
141 loop dependencies listed above are, for now, explicitly ignored when
142 determining package install ordering.
143 
144 \subsection tsort_summary Summary
145 
146 So what does this all mean? Basically not much, unless you find yourself
147 trying to specify dependencies amongst a set of packages correctly and
148 happen to create a dependency loop.
149 
150 And, before you start adding the new-fangled syntax to packages, please
151 remember that rpm will almost certainly be auto-generating fine-grained
152 dependencies for %post et al scriptlets pretty soon. Truly, rpm needs to
153 make packaging easier, not provide Yet More Complicated Syntax in spec files.
154 
155 With thanks to Ken Estes for doing the implementation in bash2 that makes
156 it possible to auto-generate scriptlet dependencies, blame me for the long,
157 slow deployment.
158 
159 */