[merge] use both db's for dep. checking
This commit is contained in:
+1
-2
@@ -535,8 +535,7 @@ def plan_upgrade(A):
|
||||
pkg = packagedb.get_package(x)
|
||||
for dep in pkg.runtimeDependencies():
|
||||
# add packages that can be upgraded
|
||||
if dependency.repo_satisfies_dep(dep):
|
||||
if ctx.installdb.is_installed(dep.package):
|
||||
if dependency.repo_satisfies_dep(dep) or ctx.installdb.is_installed(dep.package):
|
||||
if dependency.installed_satisfies_dep(dep):
|
||||
continue
|
||||
if not dep.package in G_f.vertices():
|
||||
|
||||
Reference in New Issue
Block a user