When we reset transaction info after going back to UI tasksel step and unchecking some repo used in previous pass, we must not touch objects referring to the removed repo. _inSack seems to be a special PackageSack added to yum's TransactionData for optimalization lately. I don't like touching it from anaconda, but I can't find another way. I think the case is not so common to be worth deeper changes in yuminstall. There might be option of doing SackSetup after unchecking of a repo, but it seems less safe to me. --- pyanaconda/yuminstall.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py index 876a843..f2c30b9 100644 --- a/pyanaconda/yuminstall.py +++ b/pyanaconda/yuminstall.py @@ -1328,6 +1328,9 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon def resetPackageSelections(self): """Reset the package selection to an empty state.""" + # This is needed for the case when one unchecks a repo + # checked in previous pass of this step + self.ayum.tsInfo._inSack.clearIndexes() for txmbr in self.ayum.tsInfo: self.ayum.tsInfo.remove(txmbr.pkgtup) self.ayum.tsInfo.conditionals.clear() -- 1.7.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list