- Örneğin tek paket olan bir depomuz var (içinde comar olsun)
- Ve tüm depoları kaldırıp o depoyu kullanmaya karar verelim pisi up --dry-run ... python bağımlılığı, comar paketi için sağlanamadı Program sonlandırıldı Yükseltme mümkün değil - Oysa python paketi _sistemde_ kurulu, pisi info python Yüklü paket: Ad: python, versiyon 2.4.4 .... ... Bu commit önce depoya bak _varsa_ sende kurulu mu diye bak mantığını. Depoda veya sende varsa haline çekiyor
This commit is contained in:
+3
-4
@@ -537,10 +537,9 @@ def plan_upgrade(A, ignore_build = False):
|
||||
pkg = pisi.api.get_repo_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.installed_satisfies_dep(dep):
|
||||
continue
|
||||
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():
|
||||
Bp.add(str(dep.package))
|
||||
G_f.add_dep(x, dep)
|
||||
|
||||
Reference in New Issue
Block a user