if len(provider_dblinks) > 1:
for provider_dblink in provider_dblinks:
pkg_key = ("installed", myroot,
- provider_dblink.mycpv, "nomerge")
+ provider_dblink.mycpv, "nomerge",
+ "installed")
if pkg_key not in clean_set:
provider_pkgs.add(vardb.get(pkg_key))
for consumer_dblink in list(lib_consumers):
if ("installed", myroot, consumer_dblink.mycpv,
- "nomerge") in clean_set:
+ "nomerge", "installed") in clean_set:
lib_consumers.remove(consumer_dblink)
continue
for pkg, consumers in consumer_map.items():
for consumer_dblink in set(chain(*consumers.values())):
consumer_pkg = vardb.get(("installed", myroot,
- consumer_dblink.mycpv, "nomerge"))
+ consumer_dblink.mycpv, "nomerge", "installed"))
if not resolver._add_pkg(pkg,
Dependency(parent=consumer_pkg,
priority=UnmergeDepPriority(runtime=True),