Re: yum 3.2.4
"Fajar A. Nugraha" <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
Fajar A. Nugraha wrote: > Attached is a patch which simply skips self.ts_done when > len(self._te_tuples) < 1. This doesn't solve the root cause, but at > least it allows yum to exit cleanly :) > > Forgot to attach the patch :-P _______________________________________________ Yum mailing list [email protected] https://lists.dulug.duke.edu/mailman/listinfo/yum
yum-IndexError.patch
(text/x-patch, 454 B)
--- yum/rpmtrans.py.old 2007-08-16 00:27:19.000000000 +0700
+++ yum/rpmtrans.py 2007-08-29 16:31:39.000000000 +0700
@@ -308,6 +308,7 @@
txmbrs = self.base.tsInfo.getMembers(pkgtup=pkgtup)
for txmbr in txmbrs:
self.display.filelog(txmbr.po, txmbr.output_state)
+ if len(self._te_tuples) < 1: continue
self.ts_done(txmbr.po, txmbr.output_state)