[yum-cvs] yum-utils: plugins/skip-broken
Tim Lauridsen
timlau at linux.duke.edu
Thu Jul 26 10:06:50 UTC 2007
plugins/skip-broken/skip-broken.py | 4 ++++
1 file changed, 4 insertions(+)
commit 4481a72d3ed11124380dc7a1b3d0e5ae1a361c80
Author: Tim Lauridsen <tla at rasmil.dk>
Date: Thu Jul 26 12:02:26 2007 +0200
Make skip-broken work again by deleting depsolver cache in each run.
diff --git a/plugins/skip-broken/skip-broken.py b/plugins/skip-broken/skip-broken.py
index 65ad6d7..90afef3 100755
--- a/plugins/skip-broken/skip-broken.py
+++ b/plugins/skip-broken/skip-broken.py
@@ -37,6 +37,10 @@ class CheckDependency:
def resetTs(self):
'''Clear the current tsInfo Transaction Set'''
# clear current tsInfo, we want a empty one.
+ # FIXME: Dirty Hack, remove it later when then problem dont occour any more.
+ # remove depsolver cache.
+ if hasattr(self,"dcobj"):
+ del self.dcobj
del self.base.tsInfo
self.base.tsInfo = self.base._transactionDataFactory()
self.base.initActionTs()
More information about the Yum-cvs-commits
mailing list