- not gonna be used
This commit is contained in:
@@ -34,16 +34,6 @@ def package_conflicts(pkg, confs):
|
|||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
""" A package in order may be conflicting with an installed package. In this
|
|
||||||
case pisi should upgrade that conflicting package to a non-conflicting
|
|
||||||
one if available, instead of yelling and removing the installed package. """
|
|
||||||
def satisfying_upgrade_available(conflicting):
|
|
||||||
try:
|
|
||||||
pkg = pisi.packagedb.get_package(conflicting.package)
|
|
||||||
return not conflicting.satisfies_relation(pkg.name, pkg.version, pkg.release)
|
|
||||||
except pisi.packagedb.Error:
|
|
||||||
return False
|
|
||||||
|
|
||||||
def calculate_conflicts(order, packagedb):
|
def calculate_conflicts(order, packagedb):
|
||||||
|
|
||||||
# check conflicting packages in the installed system
|
# check conflicting packages in the installed system
|
||||||
|
|||||||
Reference in New Issue
Block a user