mark as upgradable and let apt-get install deal with it

reviewable/pr18780/r1
fabios 11 years ago
parent b747d9411a
commit 9ed842e2d0

@ -208,7 +208,8 @@ def package_status(m, pkgname, version, cache, state):
m.fail_json(msg="No package matching '%s' is available" % pkgname)
except AttributeError:
# python-apt version too old to detect virtual packages
m.fail_json(msg="No package matching '%s' is available (python-apt version too old to detect virtual packages)" % pkgname)
# mark as upgradable and let apt-get install deal with it
return False, True, False
else:
return False, False, False
try:

Loading…
Cancel
Save