[PATCH 3/3] Reset the comps to empty along with everything else in yum.
Chris Lumens
clumens at redhat.com
Fri Oct 19 17:54:09 UTC 2012
Otherwise, previously selected packages will have their "selected" attribute
set, so we will not try to mark them for installation again. This leads to
some very strange log output.
---
pyanaconda/packaging/yumpayload.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/pyanaconda/packaging/yumpayload.py b/pyanaconda/packaging/yumpayload.py
index de2b8bf..e82c41d 100644
--- a/pyanaconda/packaging/yumpayload.py
+++ b/pyanaconda/packaging/yumpayload.py
@@ -333,6 +333,7 @@ reposdir=%s
def deleteYumTS(self):
with _yum_lock:
log.debug("deleting yum transaction info")
+ self._yum.closeRpmDB()
del self._yum.tsInfo
del self._yum.ts
--
1.7.11.2
More information about the anaconda-patches
mailing list