[Rpm-maint] rpmtsOrder failed,
Johnson, Richard
Richard.Johnson at stratus.com
Mon Jun 23 12:34:15 UTC 2008
Folks--
I've been having a bear of a time installing a suite of rpms where all dependencies are satisfied, only to fail in tsOrder. I've tracked the error down to this snippet from lib/depends.c (nrescans is initially 10)
1388 /* If a relation was eliminated, then continue sorting. */
1389 /* XXX TODO: add control bit. */
1390 if (nzaps && nrescans-- > 0) {
1391 rpmlog(RPMLOG_DEBUG, "========== continuing tsort ...\n");
1392 goto rescan;
1393 }
Increasing the allowable rescans enables install to proceed. This makes me wonder why rescans are limited in the first place. My reading is that as long as nzaps!=0 progress was made and a rescan is appropriate.
Or could someone enlighten me otherwise?
Thanks,
--rich
More information about the Rpm-maint
mailing list