This will make it so the repo metadata from any new or changed repos will be merged in, therefore making groups selectable in the UI. There are simply too many places where a repo can be modified to conditionalize this so hopefully it does not take too long. --- iw/task_gui.py | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/iw/task_gui.py b/iw/task_gui.py index ded1008..8f9b4c8 100644 --- a/iw/task_gui.py +++ b/iw/task_gui.py @@ -505,6 +505,12 @@ class TaskWindow(InstallWindow): else: self.dispatch.skipStep("group-selection", skip = 1) + # If we've added repos, clear out the comps object. This will force + # yum to reload it on the next access instead of using the cached value, + # which will not contain the group information for any repos selected + # through the UI. + self.ayum.comps = None + tasks = self.xml.get_widget("taskList").get_model() for (cb, task, grps) in filter(lambda x: not x[0], tasks): map(lambda g: setattr(self.backend.ayum.comps.return_group(g), -- 1.7.0.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list