[Yum-devel] [PATCH 2/2] resolveDeps: Keep installedFileRequires in sync. BZ 920758

Zdenek Pavlas zpavlas at redhat.com
Thu Apr 4 08:22:11 UTC 2013


---
 yum/depsolve.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/yum/depsolve.py b/yum/depsolve.py
index 3782714..6b242e0 100644
--- a/yum/depsolve.py
+++ b/yum/depsolve.py
@@ -929,6 +929,9 @@ class Depsolve(object):
                                 self._last_req = None
                                 self.pkgSack.delPackage(otxmbr.po)
                                 self.up.delPackage(otxmbr.pkgtup)
+                                # Update the cache and recheck file requires
+                                (self.installedFileRequires or {}).pop(otxmbr.pkgtup, None)
+                                CheckRemoves |= full_check
 
                 if CheckDeps:
                     if self.dsCallback: self.dsCallback.restartLoop()
-- 
1.7.11.7



More information about the Yum-devel mailing list