[Yum-devel] [PATCH] Make installedFileRequires None, when we reset the rpmdb transaction.

James Antill james at and.org
Fri Jan 15 16:04:36 UTC 2010


 Without this although we drop the cache from rpmdb, we've kept a copy
the depsolver uses internally ... so we now drop that too.
---
 yum/__init__.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/yum/__init__.py b/yum/__init__.py
index 1085f21..70ac05c 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -875,6 +875,7 @@ class YumBase(depsolve.Depsolve):
             # but easier than removing/altering specific bits of the cache ...
             # and skip-broken shouldn't care too much about speed.
             self.rpmdb.transactionReset()
+            self.installedFileRequires = None # Kind of hacky
             self.verbose_logger.debug(_("Skip-broken round %i"), count)
             self._printTransaction()        
             depTree = self._buildDepTree()
-- 
1.6.5.2



More information about the Yum-devel mailing list