validation_keys = ["COUNTER", "_mtime_"]
for cpv in current_cpv_set:
- pkg_hash_key = ("installed", root, cpv, "nomerge")
+ pkg_hash_key = ("installed", root, cpv, "nomerge", "installed")
pkg = pkg_vardb.get(pkg_hash_key)
if pkg is not None:
counter, mtime = real_vardb.aux_get(cpv, validation_keys)
def get(self, item, default=None):
cpv = getattr(item, "cpv", None)
if cpv is None:
- if len(item) != 4:
+ if len(item) != 5:
return default
- type_name, root, cpv, operation = item
+ type_name, root, cpv, operation, repo_key = item
existing = self._cpv_map.get(cpv)
if existing is not None and \