summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 16d99a955..f2b11876c 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -5047,6 +5047,10 @@ class vardbapi(dbapi):
if pkg_data:
cache_mtime, metadata = pkg_data
cache_valid = cache_mtime == mydir_mtime
+ if cache_valid and set(metadata) != self._aux_cache_keys:
+ # Allow self._aux_cache_keys to change without a cache version
+ # bump.
+ cache_valid = False
if cache_valid:
mydata.update(metadata)
pull_me = set(wants).difference(self._aux_cache_keys)