[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 1/7] Clean up and close yum/rpm files once we're done with them.



---
 pyanaconda/yuminstall.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
index 86ea22c..55b81cb 100644
--- a/pyanaconda/yuminstall.py
+++ b/pyanaconda/yuminstall.py
@@ -1936,6 +1936,11 @@ reposdir=/etc/anaconda.repos.d,/tmp/updates/anaconda.repos.d,/tmp/product/anacon
     def writeConfiguration(self):
         return
 
+    def postAction(self, anaconda):
+        self.close()
+        self.closeRpmDB()
+        iutil.resetRpmDb(anaconda.rootPath)
+
 class DownloadHeaderProgress:
     def __init__(self, intf, ayum=None):
         window = intf.progressWindow(_("Installation Starting"),
-- 
1.7.3.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]